| 1 | <?php |
||
| 13 | class PublishOpen extends Command |
||
| 14 | { |
||
| 15 | use ChecksEnv; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The name and signature of the console command. |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $signature = 'publish:open {--domain=}'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The console command description. |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | protected $description = 'Open domain on your default (sensible-browser) browser'; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Domain name. |
||
| 33 | * |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | protected $domain; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Execute the console command. |
||
| 40 | * |
||
| 41 | */ |
||
| 42 | public function handle() |
||
| 50 | |||
| 51 | |||
| 52 | /** |
||
| 53 | * Abort command execution. |
||
| 54 | */ |
||
| 55 | protected function abortCommandExecution() |
||
| 59 | } |
||
| 60 |