'input_option_5' =>
new InputOption('option_name', 'o', InputOption::VALUE_REQUIRED, "multiline\noption description"
),
'input_option_6' =>
new InputOption('option_name',
['o', 'O'
], InputOption::VALUE_REQUIRED, 'option with multiple shortcuts'
),
'input_option_with_style' =>
new InputOption('option_name', 'o', InputOption::VALUE_REQUIRED, 'option description', '<comment>style</>'
),
'input_option_with_style_array' =>
new InputOption('option_name', 'o', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'option description',
['<comment>Hello</comment>', '<info>world</info>'
]),
'input_option_with_default_inf_value' =>
new InputOption('option_name', 'o', InputOption::VALUE_OPTIONAL, 'option description', \INF
),
];
} public static function getInputDefinitions() { return [ 'input_definition_1' =>
new InputDefinition(),
'input_definition_2' =>
new InputDefinition([new InputArgument('argument_name', InputArgument::REQUIRED
)]),
'input_definition_3' =>
new InputDefinition([new InputOption('option_name', 'o', InputOption::VALUE_NONE
)]),
'input_definition_4' =>
new InputDefinition([ new InputArgument('argument_name', InputArgument::REQUIRED
),
new InputOption('option_name', 'o', InputOption::VALUE_NONE
),
]),
];
} public static function getCommands() {