interface AutomaticOptionsProviderInterface (View source)

Option providers can add options to commands based on the annotations present in a command. For example, a command that specifies @fields will automatically be given --format and --fields options.

Methods

InputOption[]
automaticOptions(CommandInfo $commandInfo)

No description

Details

InputOption[] automaticOptions(CommandInfo $commandInfo)

No description

Parameters

CommandInfo $commandInfo

Return Value

InputOption[]