mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-04-02 09:22:36 +00:00
Add support for -h in the CLI
This commit is contained in:
parent
09ad9a4673
commit
9aaeb7ebd8
@ -38,6 +38,7 @@ from nanobot.utils.helpers import sync_workspace_templates
|
|||||||
|
|
||||||
app = typer.Typer(
|
app = typer.Typer(
|
||||||
name="nanobot",
|
name="nanobot",
|
||||||
|
context_settings={"help_option_names": ["-h", "--help"]},
|
||||||
help=f"{__logo__} nanobot - Personal AI Assistant",
|
help=f"{__logo__} nanobot - Personal AI Assistant",
|
||||||
no_args_is_help=True,
|
no_args_is_help=True,
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user