@@ -169,29 +169,15 @@ def edit_help(cls, option_name: str, help_text: str):
169
169
help = "Path to a JSON file containing the encrypted key backup. For example, a JSON file from PolkadotJS." ,
170
170
)
171
171
json_password = typer .Option (
172
- None ,
173
- "--json-password" ,
174
- "--json_password" ,
175
- help = "Password to decrypt the JSON file." ,
172
+ None , "--json-password" , help = "Password to decrypt the JSON file."
176
173
)
177
174
use_password = typer .Option (
178
175
True ,
179
- "--use-password" ,
180
- "--use_password" ,
181
176
help = "Set this to `True` to protect the generated Bittensor key with a password." ,
182
177
)
183
- public_hex_key = typer .Option (
184
- None ,
185
- "--public-hex-key" ,
186
- "--public_hex_key" ,
187
- help = "The public key in hex format." ,
188
- )
178
+ public_hex_key = typer .Option (None , help = "The public key in hex format." )
189
179
ss58_address = typer .Option (
190
- None ,
191
- "--ss58" ,
192
- "--ss58-address" ,
193
- "--ss58_address" ,
194
- help = "The SS58 address of the coldkey." ,
180
+ None , "--ss58" , "--ss58-address" , help = "The SS58 address of the coldkey."
195
181
)
196
182
overwrite = typer .Option (
197
183
False ,
@@ -222,14 +208,11 @@ def edit_help(cls, option_name: str, help_text: str):
222
208
)
223
209
netuid_not_req = typer .Option (
224
210
None ,
225
- "--netuid" ,
226
211
help = "The netuid of the subnet in the network, (e.g. 1)." ,
227
212
prompt = False ,
228
213
)
229
214
all_netuids = typer .Option (
230
215
False ,
231
- "--all-netuids/--not-all-netuids" ,
232
- "--all_netuids/--not_all_netuids" ,
233
216
help = "Use all netuids" ,
234
217
prompt = False ,
235
218
)
@@ -242,7 +225,6 @@ def edit_help(cls, option_name: str, help_text: str):
242
225
reuse_last = typer .Option (
243
226
False ,
244
227
"--reuse-last" ,
245
- "--reuse_last" ,
246
228
help = "Reuse the metagraph data you last retrieved."
247
229
"Use this option only if you have already retrieved the metagraph."
248
230
"data" ,
@@ -253,15 +235,10 @@ def edit_help(cls, option_name: str, help_text: str):
253
235
help = "Display the table as HTML in the browser." ,
254
236
)
255
237
wait_for_inclusion = typer .Option (
256
- True ,
257
- "--wait-for-inclusion" ,
258
- "--wait_for_inclusion" ,
259
- help = "If `True`, waits until the transaction is included in a block." ,
238
+ True , help = "If `True`, waits until the transaction is included in a block."
260
239
)
261
240
wait_for_finalization = typer .Option (
262
241
True ,
263
- "--wait-for-finalization" ,
264
- "--wait_for_finalization" ,
265
242
help = "If `True`, waits until the transaction is finalized on the blockchain." ,
266
243
)
267
244
prompt = typer .Option (
@@ -299,15 +276,13 @@ def edit_help(cls, option_name: str, help_text: str):
299
276
"--slippage-tolerance" ,
300
277
"--tolerance" ,
301
278
"--rate-tolerance" ,
302
- "--rate_tolerance" ,
303
279
help = "Set the rate tolerance percentage for transactions (default: 0.05 for 5%)." ,
304
280
callback = validate_rate_tolerance ,
305
281
)
306
282
safe_staking = typer .Option (
307
283
None ,
308
284
"--safe-staking/--no-safe-staking" ,
309
285
"--safe/--unsafe" ,
310
- "--safe_staking/--no_safe_staking" ,
311
286
show_default = False ,
312
287
help = "Enable or disable safe staking mode [dim](default: enabled)[/dim]." ,
313
288
)
@@ -317,7 +292,6 @@ def edit_help(cls, option_name: str, help_text: str):
317
292
"--partial/--no-partial" ,
318
293
"--allow/--not-allow" ,
319
294
"--allow-partial/--not-partial" ,
320
- "--allow_partial_stake/--no_allow_partial_stake" ,
321
295
show_default = False ,
322
296
help = "Enable or disable partial stake mode [dim](default: disabled)[/dim]." ,
323
297
)
@@ -334,7 +308,6 @@ def edit_help(cls, option_name: str, help_text: str):
334
308
False ,
335
309
"--json-output" ,
336
310
"--json-out" ,
337
- "--json_output" ,
338
311
help = "Outputs the result of the command as JSON." ,
339
312
)
340
313
period : int = typer .Option (
0 commit comments