/** * @param ICommand $command */ public function setup(ICommand $command) { $command->setGlobal(true)->setHidden(true); $command->option(OptionType::SINGLE_OPTIONAL, '--format', '-f')->setDescription('Output format: normal, plain, raw'); }
/** * @param ICommand $command */ public function setup(ICommand $command) { $command->setGlobal(true)->setHidden(true); $command->option(OptionType::BOOLEAN, '--no-interaction', '-n')->setDescription('Disable interactions like questions, prompts, etc'); }
/** * @param ICommand $command */ public function setup(ICommand $command) { $command->setGlobal(true)->setHidden(true); $command->option(OptionType::INCREMENTAL, '--verbosity', '-v')->setDescription('Output verbosity: 0 = normal, 1 = verbose, 2 = debug, 3 = silent'); }
/** * @param ICommand $command */ public function setup(ICommand $command) { $command->setGlobal(true)->setHidden(true); $command->option(OptionType::SINGLE_OPTIONAL, '--env')->setDescription('Set application environment'); }
/** * @param ICommand $command */ public function setup(ICommand $command) { $command->setGlobal(true)->setHidden(true); $command->option(OptionType::BOOLEAN, '--passthrough')->setDescription('Do not catch any errors or exceptions'); }
/** * @param ICommand $command */ public function setup(ICommand $command) { $command->setGlobal(true); $command->argument(ArgumentType::MULTIPLE_OPTIONAL, 'args'); $command->option(OptionType::BOOLEAN, '--help', '-h')->setDescription('Show help text'); }
/** * @param ICommand $command */ public function setup(ICommand $command) { $command->setGlobal(true)->setHidden(true); $command->option(OptionType::BOOLEAN, '--silent', '-s')->setDescription('Disable input and output'); }
/** * @param ICommand $command */ public function setup(ICommand $command) { $command->setGlobal(true); $command->option(OptionType::BOOLEAN, '--version', '-V')->setDescription('Show application version'); }