near-cli
near-cli copied to clipboard
Create Account help doesn't show need in masterAccount
Describe the bug
When calling create_account masterAccount
flag is obligatory but that is not shown in help.
To Reproduce
1. Call near create_account blah
2. Observe error:
near create_account <accountId>
create a new developer account
Options:
--help Show help <span class="error">[boolean]</span>
--version Show version number <span class="error">[boolean]</span>
--nodeUrl, --node_url NEAR node URL <span class="error">[string]</span> <span class="error">[default: "http://localhost:3030"]</span>
--networkId, --network_id NEAR network ID, allows using different keys based on network <span class="error">[string]</span> <span class="error">[default: "default"]</span>
--helperUrl NEAR contract helper URL <span class="error">[string]</span>
--keyPath Path to master account key <span class="error">[string]</span>
--accountId, --account_id Unique identifier for the newly created account <span class="error">[string]</span> <span class="error">[required]</span>
--publicKey Public key to initialize the account with <span class="error">[string]</span>
--initialBalance Number of tokens to transfer to newly created account <span class="error">[string]</span> <span class="error">[default: "100"]</span>
Missing required argument: masterAccount
Observe that there is no information about masterAccount
argument.
3. Run near create_account --help
Observe that there is no information about masterAccount
either.
Desktop (please complete the following information):
- OS: Linux
- Version 0.22.0
Was just about to file it.
Related issue: #423
It would make sense to fix these together