new (Click command group)
What it is
- A
clickcommand group namednewintended to serve as a parent command for subcommands in a CLI.
Public API
new()- A Click group registered under the command name
"new". - Currently contains no implementation and no subcommands in this module.
- A Click group registered under the command name
Configuration/Dependencies
- Depends on:
click(for CLI command/group definition)
Usage
Minimal runnable example wiring this group into a CLI:
import click
from naas_abi_cli.cli.new.new import new
@click.group()
def cli():
pass
cli.add_command(new)
if __name__ == "__main__":
cli()
Run:
python app.py new
Caveats
- The
newgroup does nothing by itself (pass) and provides no subcommands in this file.