-
Notifications
You must be signed in to change notification settings - Fork 0
Add registrar cli tool #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Conversation
9d8b469 to
7908c98
Compare
0e28331 to
9331ff4
Compare
513a105 to
3eb0fb7
Compare
1b46b0b to
bb9c8a8
Compare
08ea35b to
deaa8c8
Compare
|
|
||
| func init() { | ||
| accountCmd.AddCommand(accountCreateCmd) | ||
| accountCreateCmd.Flags().StringP("mnemonic", "m", "", "account mnemonic") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see adding this flag multiple times
as a suggestion, I'm thinking of a helper function like this
func addMnemonicFlag(cmd *cobra.Command) {
cmd.Flags().StringP("mnemonic", "m", "", "account mnemonic")
}
so making future changes easier and removing repetition
|
also you can add binaries created to |
already files in bin/ are in the gitignore |
57d63e3 to
de1d2e3
Compare
de1d2e3 to
9e42402
Compare
f43e7ff to
8aafe91
Compare
f2d6904 to
cc17217
Compare
Description
replace new-account and new-farm tools with one tool, registrar-cli allowing user to use one tool to interact and manage version, farms, accounts and nodes
Changes
Related Issues
Checklist