solc-cli
v0.3.0
Published
solc command line interface
Downloads
29
Readme
solc-cli
Command line interface for https://github.com/ethereum/solc-js
Installation
$ npm install --save-dev solc solc-cli
Solc is a peer dependency so needs to be installed alongside this cli
Usage
$ solc [options] [files]
Examples
Single File
solc example.sol
Multiple Files
solc example.sol anotherExample.sol
Glob
solc *.sol
Uses https://github.com/isaacs/node-glob
Options
$ solc --name=value
| Option | Default | Description | |----------|-------------|---------------------------------------------| | out-dir | ./contracts | Output directory for the compiled contracts | | optimise | null | If present activates the solc optimiser | | debug | null | If present shows the debug messages |