0.2.0 • Published 7 years ago
@mainframe/cli v0.2.0
Mainframe CLI
Usage
# In packages/cli
./bin/runCommands
env:create: create a new environmentenv:default: get or set the default environment to useenv:delete: delete an environmentenv:list: list the environmentsdaemon:setup: configure the daemon binary and socket pathsdaemon:status: display the daemon running status and socket pathdaemon:start: start the daemon using the store configurationdaemon:stop: start the daemon using the store configurationclient:repl: open a node REPL with an injectedclientobject connected to the daemonclient:setup: ensure the environment has a default vault setupvault:create: create a vaultvault:delete: delete a vaultvault:list: list existing vaultsvault:settings: set and/or display a vault settingsgraphql:query: execute a GraphQL querygraphql:schema: write the GraphQL schemagraphql:server: create a HTTP proxy for GraphQL queriesidentity:create: create an identityidentity:list: list identitiesapp:create: create an appapp:publish: publish the app to Swarmwallet:createEth: create a new Ethereum walletwallet:connectLedgerAccount: connect an account from ledger hardware walletwallet:delete: delete a walletwallet:importEth: import an Ethereum wallet
Environment setup
- Run
env:createto create a new environment, set it as default unless you want to provide it explicitly in the next commands - Run
daemon:setupto configure the path to thedaemonCLI, ex./bin/run daemon:setup --bin-path=../daemon/bin/run - Run
daemon:startto start the daemon, useDEBUG="mainframe:*" ./bin/run daemon:startto see the logs - Run
client:setupto create a new vault and configure it to be used by default - Run
client:replto start interacting with the daemon
0.2.0
7 years ago