Skip to content

Commit 2c17607

Browse files
committed
Fixed issue with "hub reporting" command
1 parent adeb7ac commit 2c17607

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

hub/cli/auth.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ def register(username, email, password):
7474
@click.command()
7575
@click.option("--on/--off", help="Turn crash report on/off")
7676
def reporting(on):
77+
"""
78+
Enable or disable sending crash reports to Activeloop AI.
79+
"""
7780
report = Report(
7881
title="Consent change",
7982
tags=hub_reporter.system_tags(),

hub/cli/command.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
from hub.log import configure_logger
1010
from hub.cli.auth import login, logout, register
1111
from hub.version import __version__
12-
from hub.report import consent
13-
from hub.cli.auth import login, logout, register
12+
from hub.cli.auth import login, logout, register, reporting
1413

1514

1615
@click.group()
@@ -37,7 +36,7 @@ def add_commands(cli):
3736
cli.add_command(register)
3837
cli.add_command(logout)
3938
cli.add_command(cli)
40-
cli.add_command(consent)
39+
cli.add_command(reporting)
4140

4241

4342
add_commands(cli)

0 commit comments

Comments
 (0)