@@ -7,25 +7,25 @@ use crate::js_command_match::constants::{
77#[ derive( Debug , Clone , clap:: Parser ) ]
88pub struct CreateAccountArgs {
99 new_account_id : String ,
10- #[ clap ( long, aliases = USE_FAUCET_ALIASES , default_value_t = false ) ]
10+ #[ arg ( long, aliases = USE_FAUCET_ALIASES , default_value_t = false ) ]
1111 use_faucet : bool ,
12- #[ clap ( long, aliases = USE_ACCOUNT_ALIASES , conflicts_with = "use_faucet" ) ]
12+ #[ arg ( long, aliases = USE_ACCOUNT_ALIASES , conflicts_with = "use_faucet" ) ]
1313 use_account : Option < String > ,
14- #[ clap ( long, aliases = INITIAL_BALANCE_ALIASES , default_value = "1" ) ]
14+ #[ arg ( long, aliases = INITIAL_BALANCE_ALIASES , default_value = "1" ) ]
1515 initial_balance : String ,
16- #[ clap ( long, aliases = PUBLIC_KEY_ALIASES ) ]
16+ #[ arg ( long, aliases = PUBLIC_KEY_ALIASES ) ]
1717 public_key : Option < String > ,
18- #[ clap ( long, aliases = SEED_PHRASE_ALIASES , conflicts_with = "public_key" ) ]
18+ #[ arg ( long, aliases = SEED_PHRASE_ALIASES , conflicts_with = "public_key" ) ]
1919 seed_phrase : Option < String > ,
20- #[ clap ( long, aliases = SIGN_WITH_LEDGER_ALIASES , default_value_t = false , conflicts_with="use_faucet" ) ]
20+ #[ arg ( long, aliases = SIGN_WITH_LEDGER_ALIASES , default_value_t = false , conflicts_with="use_faucet" ) ]
2121 sign_with_ledger : bool ,
22- #[ clap ( long, aliases = LEDGER_PATH_ALIASES , default_value = DEFAULT_SEED_PHRASE_PATH ) ]
22+ #[ arg ( long, aliases = LEDGER_PATH_ALIASES , default_value = DEFAULT_SEED_PHRASE_PATH ) ]
2323 ledger_path : String ,
24- #[ clap ( long, aliases = USE_LEDGER_PK_ALIASES , default_value_t = false , conflicts_with = "public_key" ) ]
24+ #[ arg ( long, aliases = USE_LEDGER_PK_ALIASES , default_value_t = false , conflicts_with = "public_key" ) ]
2525 use_ledger_pk : bool ,
26- #[ clap ( long, aliases = PK_LEDGER_PATH_ALIASES , default_value = DEFAULT_SEED_PHRASE_PATH ) ]
26+ #[ arg ( long, aliases = PK_LEDGER_PATH_ALIASES , default_value = DEFAULT_SEED_PHRASE_PATH ) ]
2727 pk_ledger_path : String ,
28- #[ clap ( long, aliases = NETWORK_ID_ALIASES ) ]
28+ #[ arg ( long, aliases = NETWORK_ID_ALIASES ) ]
2929 network_id : Option < String > ,
3030}
3131
0 commit comments