diff --git a/src/EnvDeployerMakeExampleCommand.php b/src/EnvDeployerMakeExampleCommand.php index 08629c0..9d30608 100644 --- a/src/EnvDeployerMakeExampleCommand.php +++ b/src/EnvDeployerMakeExampleCommand.php @@ -15,7 +15,7 @@ class EnvDeployerMakeExampleCommand extends Command * * @var string */ - protected $signature = 'envdeployer:make-example {--from=/.env} {--to=/.env.example}'; + protected $signature = 'envdeployer:make-example {--from= : /path/to/.env. Default to /.env} {--to= : /path/to/.env.example. Default to /.env.example}'; protected $name = 'envdeployer:make-example'; @@ -76,20 +76,6 @@ public function makeExampleEnvArray($envPath) return $exampleSettings; } - /** - * Get the console command options. - * For compatibility with L5.0 - * - * @return array - */ - protected function getOptions() - { - return [ - ['from', null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_REQUIRED, 'The file path for the source .env', base_path('.env')], - ['to', null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_REQUIRED, 'The file path for the destination .env.example', base_path('.env.example')], - ]; - } - /** * Get the file paths for the source .env and destination .env.example. *