Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

Set up CLI framework #61

Merged
merged 1 commit into from
Jul 5, 2019
Merged

Set up CLI framework #61

merged 1 commit into from
Jul 5, 2019

Conversation

austinabell
Copy link

@austinabell austinabell commented Jul 5, 2019

Sets up ethermint CLI framework to be connected to logic implemented in future PRs. Defaults include commands for checking status of daemon rpc, setting up keys, and setting up config for the daemon. Here is the output for the base command:

Ethermint Client

Usage:
  emintcli [command]

Available Commands:
  status      Query remote node for status
  config      Create or query an application CLI configuration file

  keys        Add or view local private keys

  help        Help about any command

Flags:
      --chain-id string   Chain ID of tendermint node
  -e, --encoding string   Binary encoding (hex|b64|btc) (default "hex")
  -h, --help              help for emintcli
      --home string       directory for config and data (default "/Users/austinabell/.emintcli")
  -o, --output string     Output format (text|json) (default "text")
      --trace             print out full stack trace on errors

Use "emintcli [command] --help" for more information about a command.

Doesn't include setting up query, tx, rest api routes (Cosmos SDK server for cli alternative), and web3 API commands. As we discussed, starting the web3 rpc server should go through the CLI so I added the todo there.

Implements #5

@austinabell austinabell changed the title Set up CLI framework without logic for query, tx, SDK rest, and web3 … Set up CLI framework Jul 5, 2019
@austinabell austinabell merged commit ba203d3 into development Jul 5, 2019
@austinabell austinabell deleted the austin/cliframework branch July 5, 2019 16:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants