0.0.6 • Published 9 years ago
ethdeploy-cli v0.0.6
ethdeploy-cli
A CLI for the ethdeploy Ethereum smart-contract deployment staging facility.
Installation
npm install -g ethdeploy-cliRun
ethdeploy ./ethdeploy.config.js ./environments.jsonExample
First install and run ethereumjs-testrpc, then run the example ethdeploy cli.
npm install -g ethereumjs-testrpc
testrpc
npm run exampleExample CLI Output
> ethdeploy ./example/ethdeploy.config.js ./example/
ethdeploy [2016-07-29T04:06:44.117Z]: Environment 'morden' configured, starting contract deployment...
ethdeploy [2016-07-29T04:06:44.146Z]: Deploying 'SimpleStore' to environment 'morden'...
ethdeploy [2016-07-29T04:06:44.682Z]: Deploying 'SimpleStoreService' to environment 'morden'...
ethdeploy [2016-07-29T04:06:44.682Z]: Deploying 'SomeCustomInstance' to environment 'morden'...
ethdeploy [2016-07-29T04:06:48.734Z]: All contracts deployed successfully to environment 'morden'!
ethdeploy-build [2016-07-29T04:06:48.737Z]: build output file already exists... morphing and modifying with Object.assign...
ethdeploy-build [2016-07-29T04:06:48.741Z]: File Generated: './example/environments.json' [modified] successfully!
Details:
Generation Time: 2016-07-29T04:06:48.741Z
File Generated: ./example/environments.json [modified]CLI Inputs
ethdeploy <config-path> <output-dir-path> [options]Future/Todo
- More build options (i.e. --override, --morph etc.)
- Modularize out
buildutil module
Licence
Released under the MIT License, see LICENSE.md file.