Skip to content

Commit dd0ce41

Browse files
authored
Merge pull request #514 from opentensor/feat/thewhaleking/add-snake-case
add snake case aliases
2 parents 452ed34 + 8274848 commit dd0ce41

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

bittensor_cli/cli.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import traceback
1212
import warnings
1313
from pathlib import Path
14-
from typing import Coroutine, Optional, Union
14+
from typing import Coroutine, Optional
1515
from dataclasses import fields
1616

1717
import rich
@@ -929,11 +929,13 @@ def __init__(self):
929929
)(self.view_dashboard)
930930

931931
# Sub command aliases
932-
# Weights
932+
# Wallet
933933
self.wallet_app.command(
934934
"swap_hotkey",
935935
hidden=True,
936936
)(self.wallet_swap_hotkey)
937+
self.wallet_app.command("swap_coldkey", hidden=True)(self.wallet_swap_coldkey)
938+
self.wallet_app.command("swap_check", hidden=True)(self.wallet_check_ck_swap)
937939
self.wallet_app.command(
938940
"regen_coldkey",
939941
hidden=True,
@@ -962,10 +964,14 @@ def __init__(self):
962964
"get_identity",
963965
hidden=True,
964966
)(self.wallet_get_id)
967+
self.wallet_app.command("associate_hotkey")(self.wallet_associate_hotkey)
965968

966969
# Subnets
967970
self.subnets_app.command("burn_cost", hidden=True)(self.subnets_burn_cost)
968971
self.subnets_app.command("pow_register", hidden=True)(self.subnets_pow_register)
972+
self.subnets_app.command("set_identity", hidden=True)(self.subnets_set_identity)
973+
self.subnets_app.command("get_identity", hidden=True)(self.subnets_get_identity)
974+
self.subnets_app.command("check_start", hidden=True)(self.subnets_check_start)
969975

970976
# Sudo
971977
self.sudo_app.command("senate_vote", hidden=True)(self.sudo_senate_vote)
@@ -5090,7 +5096,7 @@ def subnets_check_start(
50905096
This command verifies if a subnet's emission schedule can be started based on the subnet's registration block.
50915097
50925098
Example:
5093-
[green]$[/green] btcli subnets check_start --netuid 1
5099+
[green]$[/green] btcli subnets check-start --netuid 1
50945100
"""
50955101
self.verbosity_handler(quiet, verbose)
50965102
return self._run_command(

0 commit comments

Comments
 (0)