ska_sdp_piper.piper.command.command module
-
class ska_sdp_piper.piper.command.command.Command(version=None)[source]
Bases: object
Base class for creating CLI commands
-
sub_command(name, *cli_args, help=None)[source]
Decorator for adding sub commands
- Parameters:
name (str) -- Name of the sub command
*cli_args (CLIArgument) -- List of CLI arguments for the sub command
help (str | None, default: None) -- Help text
- Returns:
function