cosmjs-util/packages/cli
2020-02-06 17:45:01 +01:00
..
bin Add @cosmwasm/cli 2020-02-06 17:36:14 +01:00
nonces Add @cosmwasm/cli 2020-02-06 17:36:14 +01:00
src Add @cosmwasm/cli 2020-02-06 17:36:14 +01:00
.eslintignore Add @cosmwasm/cli 2020-02-06 17:36:14 +01:00
.gitignore Add @cosmwasm/cli 2020-02-06 17:36:14 +01:00
jasmine-testrunner.js Add @cosmwasm/cli 2020-02-06 17:36:14 +01:00
package.json Add missing dependencies 2020-02-06 17:45:01 +01:00
README.md Add @cosmwasm/cli 2020-02-06 17:36:14 +01:00
tsconfig_repl.json Add @cosmwasm/cli 2020-02-06 17:36:14 +01:00
tsconfig.json Add @cosmwasm/cli 2020-02-06 17:36:14 +01:00
tslint.json Add @cosmwasm/cli 2020-02-06 17:36:14 +01:00

@cosmwasm/cli

npm version

Installation and first run

The cosmwasm-cli executable is available via npm. We recommend local installations to your demo project. If you don't have one yet, just mkdir cosmwasm-cli-installation && cd cosmwasm-cli-installation && yarn init --yes.

locally with yarn

$ yarn add @cosmwasm/cli --dev
$ ./node_modules/.bin/cosmwasm-cli

locally with npm

$ npm install @cosmwasm/cli --save-dev
$ ./node_modules/.bin/cosmwasm-cli

globally with yarn

$ yarn global add @cosmwasm/cli
$ cosmwasm-cli

globally with npm

$ npm install -g @cosmwasm/cli
$ cosmwasm-cli

Getting started

  1. Install @cosmwasm/cli and run cosmwasm-cli as shown above
  2. TODO: write README inspired by https://github.com/iov-one/iov-core/blob/master/packages/iov-cli/README.md

License

This package is part of the cosmwasm-js repository, licensed under the Apache License 2.0 (see NOTICE and LICENSE).