Skip to content
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

Order CLI flags #27

Open
fdymylja opened this issue Apr 26, 2020 · 0 comments
Open

Order CLI flags #27

fdymylja opened this issue Apr 26, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@fdymylja
Copy link
Contributor

At the moment flags of commands are merged together with cosmos-sdks default ones, so when the helper command is printed flags are put all together in an alphabetical ordered way.

Example:
Flags:

-a, --account-number uint      The account number of the signing account (offline mode only)
    --account-renew int        account duration in seconds before expiration (default 10000000)
-b, --broadcast-mode string    Transaction broadcasting mode (sync|async|block) (default "sync")
    --domain string            name of the domain you want to register
    --dry-run                  ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it
    --fees string              Fees to pay along with transaction; eg: 10uatom
    --from string              Name or address of private key with which to sign

Try to order it in a way that the first ones are msg related flags and the other ones are the one inherited from the cosmos sdk.

@fdymylja fdymylja added the enhancement New feature or request label Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant