Skip to content

Commit c3ad441

Browse files
committed
change: Moved tenant override cli back to the tenant sub-command.
1 parent 0b9cf06 commit c3ad441

7 files changed

Lines changed: 245 additions & 286 deletions

File tree

bbblb/cli/db.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
@main.group()
1313
def db():
14-
"""Manage database"""
14+
"""Manage the database schema"""
1515

1616

1717
@db.command()
@@ -21,7 +21,7 @@ def db():
2121
@async_command()
2222
async def migrate(obj: ServiceRegistry, create: bool):
2323
"""
24-
Migrate database to the current schema version.
24+
Migrate the configured database to the current schema version.
2525
2626
WARNING: Make backups!
2727
"""

bbblb/cli/maketoken.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
async def maketoken(
3535
obj: ServiceRegistry, subject, expire, server, tenant, scope, verbose
3636
):
37-
"""Generate an Admin Token that can be used to authenticate against the BBBLB API.
37+
"""Generate admin- and other and API tokens.
3838
3939
The SUBJECT should be a short name or id that identifies the token
4040
or token owner. It will be logged when the token is used.

bbblb/cli/override.py

Lines changed: 0 additions & 146 deletions
This file was deleted.

bbblb/cli/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
@main.group()
1919
def server():
20-
"""Manage servers"""
20+
"""Manage BBB servers."""
2121

2222

2323
@server.command()

bbblb/cli/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
@main.group()
1919
def state():
20-
"""Tools to export and import cluster state in JSON files."""
20+
"""Tools to import or export cluster state as JSON files."""
2121

2222

2323
type_choices = MultiChoice(["servers", "tenants"])

0 commit comments

Comments
 (0)