| 1 | <?php |
||
| 10 | class PublishToken extends SaveEnvVariable |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * The name and signature of the console command. |
||
| 15 | * |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $signature = 'publish:token {token?}'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * The console command description. |
||
| 22 | * |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $description = 'Save Personal Access Token'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Env var to set. |
||
| 29 | * |
||
| 30 | * @return mixed |
||
| 31 | */ |
||
| 32 | protected function envVar() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Argument key. |
||
| 39 | * |
||
| 40 | * @return mixed |
||
| 41 | */ |
||
| 42 | protected function argKey() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Question text. |
||
| 49 | * |
||
| 50 | * @return mixed |
||
| 51 | */ |
||
| 52 | protected function questionText() |
||
| 56 | } |
||
| 57 |