-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Simplify command structure #1184
Comments
improving the CLI is definitely captured in other issues |
Are the points which @cwgoes brought up addressed though? Not as far as I can tell going through the CLI - if anything we should discuss this issue or link it to the duplicate issues before closing. Alternatively we could break this up into multiple issues. going to reopen. "rather an addressed issue stay accidentally open than an unaddressed issue be accidentally closed." |
Happy to pick this up. @cwgoes @rigelrozanski do you reckon we need to break this down into multiple issues? |
Proposing new interface:
Gaia light-client
Usage:
gaiacli [command]
Available Commands:
init Initialize light client
status Query remote node for status
query Querying subcommands
tx Transactions subcommands
rest-server Start LCD (light-client daemon), a local REST server
keys Add or view local private keys
version Print the app version
help Help about any command
Flags:
-e, --encoding string Binary encoding (hex|b64|btc) (default "hex")
-h, --help help for gaiacli
--home string directory for config and data (default "/home/alessio/.gaiacli")
-o, --output string Output format (text|json) (default "text")
--trace print out full stack trace on errors
Use "gaiacli [command] --help" for more information about a command.
Transactions subcommands
Usage:
gaiacli tx [command]
Available Commands:
broadcast Broadcast transactions generated offline
send Create and sign a send tx
sign Sign transactions
create-validator create new validator initialized with a self-delegation to it
edit-validator edit and existing validator account
delegate delegate liquid tokens to an validator
redelegate redelegate illiquid tokens from one validator to another
unbond begin or complete unbonding shares from a validator
unjail unjail validator previously jailed for downtime
submit-proposal Submit a proposal along with an initial deposit
deposit deposit tokens for activing proposal
vote vote for an active proposal, options: Yes/No/NoWithVeto/Abstain
Flags:
-h, --help help for tx
Global Flags:
-e, --encoding string Binary encoding (hex|b64|btc) (default "hex")
--home string directory for config and data (default "/home/alessio/.gaiacli")
-o, --output string Output format (text|json) (default "text")
--trace print out full stack trace on errors
Use "gaiacli tx [command] --help" for more information about a command.
Querying subcommands
Usage:
gaiacli query [command]
Available Commands:
block Get verified data for a the block at given height
tendermint-validator-set Get the full tendermint validator set at given height
txs Search for all transactions that match the given tags.
tx Matches this txhash over all committed blocks
account Query account balance
delegation Query a delegation based on address and validator address
delegations Query all delegations made from one delegator
parameters Query the current staking parameters information
pool Query the current staking pool values
redelegation Query a redelegation record based on delegator and a source and destination validator address
redelegations Query all redelegations records for one delegator
signing-info Query a validator's signing information
unbonding-delegation Query an unbonding-delegation record based on delegator and validator address
unbonding-delegations Query all unbonding-delegations records for one delegator
validator Query a validator
validators Query for all validators
query-proposal query proposal details
query-proposals query proposals with optional filters
query-vote query vote
query-votes query votes on a proposal
Flags:
-h, --help help for query
Global Flags:
-e, --encoding string Binary encoding (hex|b64|btc) (default "hex")
--home string directory for config and data (default "/home/alessio/.gaiacli")
-o, --output string Output format (text|json) (default "text")
--trace print out full stack trace on errors
Use "gaiacli query [command] --help" for more information about a command. |
I propose to remove the
|
@alessio Agreed with all suggestions, let's make sure |
Remove unused SignTxRequstHandler Closes: #1184
Remove unused SignTxRequstHandler Closes: #1184
tendermint
distinction, except fortendermint-validator-set
query
andtx
The text was updated successfully, but these errors were encountered: