/** * @param ICommand $command */ public function setup(ICommand $command) { $command->setName('config:dump')->setDescription('Dump configuration'); $command->argument(ArgumentType::SINGLE_OPTIONAL, 'search')->setDescription('Config node name to dump'); $command->setHelp(<<<EOT You can dump all config with <keyword>config:dump</keyword> You can filter config by key <keyword>config:dump keyword</keyword> This will match a config starting with "<yellow>keyword</yellow>" <keyword>config:dump keyword*</keyword> This will match a config ending with "<yellow>keyword</yellow>" <keyword>config:dump *keyword</keyword> This will match everything that has "<yellow>keyword</yellow>" somewhere in the string <keyword>config:dump *keyword*</keyword> EOT ); }