Skip to content

Commit fb278ea

Browse files
authored
Merge pull request #648 from opentensor/fix/thewhaleking/commands-list
commands list fixes
2 parents 278e9e8 + e4174e2 commit fb278ea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bittensor_cli/cli.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,7 @@ def commands_callback(value: bool):
618618
if value:
619619
cli = CLIManager()
620620
console.print(cli.generate_command_tree())
621+
raise typer.Exit()
621622

622623

623624
def debug_callback(value: bool):
@@ -1112,7 +1113,9 @@ def __init__(self):
11121113
"get_identity",
11131114
hidden=True,
11141115
)(self.wallet_get_id)
1115-
self.wallet_app.command("associate_hotkey")(self.wallet_associate_hotkey)
1116+
self.wallet_app.command("associate_hotkey", hidden=True)(
1117+
self.wallet_associate_hotkey
1118+
)
11161119

11171120
# Subnets
11181121
self.subnets_app.command("burn_cost", hidden=True)(self.subnets_burn_cost)

0 commit comments

Comments
 (0)