gaps.cli.cli.as_click_command#
- as_click_command(command_config)[source]#
Convert a GAPs command configuration object into a
click
command.- Parameters:
command_config (command configuration object) – Instance of a class that inherits from
AbstractBaseCLICommandConfiguration
(i.e.gaps.cli.command.CLICommandFromClass
,gaps.cli.command.CLICommandFromFunction
, etc.).- Returns:
click.command – A
click
command generated from the command configuration.