Skip to content

Commit 39c3513

Browse files
committed
minor docs
1 parent b121983 commit 39c3513

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

taskbadger/cli.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def _configure_api(ctx):
2222

2323
@app.command(context_settings={"allow_extra_args": True, "ignore_unknown_options": True})
2424
def monitor(ctx: typer.Context, name: str):
25+
"""Monitor a command"""
2526
_configure_api(ctx)
2627
task = tb.Task.create(name)
2728
try:
@@ -39,6 +40,7 @@ def monitor(ctx: typer.Context, name: str):
3940

4041
@app.command()
4142
def configure(ctx: typer.Context):
43+
"""Update configuration"""
4244
config = ctx.meta["tb_config"]
4345
config.organization_slug = typer.prompt(f"Organization slug", default=config.organization_slug)
4446
config.project_slug = typer.prompt(f"Project slug", default=config.project_slug)
@@ -49,11 +51,13 @@ def configure(ctx: typer.Context):
4951

5052
@app.command()
5153
def docs():
54+
"""Open Task Badger docs"""
5255
typer.launch("https://docs.taskbadger.net")
5356

5457

5558
@app.command()
5659
def info(ctx: typer.Context):
60+
"""Show CLI configuration"""
5761
config = ctx.meta["tb_config"]
5862
print(str(config))
5963

@@ -65,7 +69,7 @@ def main(
6569
project: Optional[str] = typer.Option(None, "--project", "-p", show_envvar=False, metavar="PROJECT"),
6670
):
6771
"""
68-
Manage users in the awesome CLI app.
72+
Task Badger CLI
6973
"""
7074
config = get_config(org=org, project=project)
7175
ctx.meta["tb_config"] = config

0 commit comments

Comments
 (0)