Skip to content

Conversation

Eslam-Nawara
Copy link
Collaborator

@Eslam-Nawara Eslam-Nawara commented Feb 27, 2025

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

  • remove new farm and new account tools
  • add new registrar-cli tool to replace them

Related Issues

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstring

@Eslam-Nawara Eslam-Nawara requested a review from xmonader March 3, 2025 12:49
@Eslam-Nawara Eslam-Nawara force-pushed the development-add-node-registrar-client branch from 9d8b469 to 7908c98 Compare March 9, 2025 13:52
@Eslam-Nawara Eslam-Nawara force-pushed the add-registrar-cli-tool branch from 0e28331 to 9331ff4 Compare March 10, 2025 10:59
@Eslam-Nawara Eslam-Nawara force-pushed the development-add-node-registrar-client branch from 513a105 to 3eb0fb7 Compare March 10, 2025 14:23
@Eslam-Nawara Eslam-Nawara force-pushed the add-registrar-cli-tool branch 2 times, most recently from 1b46b0b to bb9c8a8 Compare March 11, 2025 11:02
Base automatically changed from development-add-node-registrar-client to development March 20, 2025 14:46
@Eslam-Nawara Eslam-Nawara force-pushed the add-registrar-cli-tool branch from 08ea35b to deaa8c8 Compare March 20, 2025 14:59

func init() {
accountCmd.AddCommand(accountCreateCmd)
accountCreateCmd.Flags().StringP("mnemonic", "m", "", "account mnemonic")
Copy link
Contributor

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

@Nabil-Salah
Copy link
Contributor

also you can add binaries created to .gitignore

@Eslam-Nawara
Copy link
Collaborator Author

also you can add binaries created to .gitignore

already files in bin/ are in the gitignore

@Eslam-Nawara Eslam-Nawara force-pushed the add-registrar-cli-tool branch from 57d63e3 to de1d2e3 Compare April 10, 2025 14:47
@Eslam-Nawara Eslam-Nawara force-pushed the add-registrar-cli-tool branch from de1d2e3 to 9e42402 Compare May 12, 2025 13:12
@Eslam-Nawara Eslam-Nawara force-pushed the add-registrar-cli-tool branch from f43e7ff to 8aafe91 Compare May 25, 2025 08:10
@Eslam-Nawara Eslam-Nawara force-pushed the add-registrar-cli-tool branch from f2d6904 to cc17217 Compare June 10, 2025 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants