Skip to content

Commit e0e9842

Browse files
committed
Include version command
1 parent 5dc07d4 commit e0e9842

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import click
22

33
from app.commands import check, download, progress, setup, verify
4+
from app.commands.version import version
45

56

67
@click.group()
@@ -18,4 +19,5 @@ def start() -> None:
1819
cli.add_command(progress)
1920
cli.add_command(setup)
2021
cli.add_command(verify)
22+
cli.add_command(version)
2123
cli(obj={})

app/commands/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
__all__ = ["check", "download", "progress", "setup", "verify"]
1+
__all__ = ["check", "download", "progress", "setup", "verify", "version"]
22

33
from .check import check
44
from .download import download
55
from .progress.progress import progress
66
from .setup import setup
77
from .verify import verify
8+
from .version import version

0 commit comments

Comments
 (0)