setup (CLI group)
What it is
- A
clickcommand group namedsetupfor thenaas_abi_cliCLI. - Acts as a namespace for subcommands that may be registered elsewhere.
Public API
setup()- Click command group entry point registered as
setup. - Currently has no direct behavior (
pass) and expects subcommands to be attached via Click.
- Click command group entry point registered as
Configuration/Dependencies
- Dependency:
click - No configuration options or parameters are defined in this module.
Usage
import click
from naas_abi_cli.cli.setup.setup import setup
@setup.command("hello")
def hello():
click.echo("hi")
if __name__ == "__main__":
setup()
Run:
python your_script.py setup hello
Caveats
- As defined here,
setuphas no subcommands; invoking it without additional registered commands will not perform any action.