CLI
cli.main is the entrypoint for the program, which should call to cli()
DynamicLoader allows loading cli() from any script under commands as a
Click command. This is where the driver entrypoints should be.
-
class
nsot_sync.cli.DynamicLoader(name=None, invoke_without_command=False, no_args_is_help=None, subcommand_metavar=None, chain=False, result_callback=None, **attrs)[source]
Bases: click.core.MultiCommand
-
fetch_dynamic_cmds()[source]
-
get_command(ctx, name)[source]
-
list_commands(ctx)[source]
-
nsot_sync.cli.main()[source]
Setuptools entrypoint, only used to call Click entrypoint
-
nsot_sync.cli.validate_attrs(ctx, param, value)[source]
Attributes must be passed as: ‘attr=value,attr2=value 2,attr3=value’