Commit f8480d9008c9cbb0c9d002cba1eace79b1b67034
debugging
Joran committed on 5/17/2017, 5:40:47 AMParent: 514c9eb0ce91f9e445870872bda792c000dc160b
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -5,8 +5,9 @@ | ||
5 | 5 … | program |
6 | 6 … | .arguments('<contract_address>') |
7 | 7 … | .option('-e, --event <event>', 'The event name to watch for') |
8 | 8 … | .option('-a, --abi <abi>', 'Path to the ABI definition') |
9 | -.action(function(address) { | |
10 | - console.log(console.log(chalk.bold.cyan(`Watching address: ${address}`))) | |
9 … | +.action(function(address, event, abi) { | |
10 … | + console.log(chalk.bold.cyan(`Watching address: ${address}`)) | |
11 … | + console.log(chalk.bold.cyan(` for event: ${event}`)) | |
11 | 12 … | }) |
12 | 13 … | .parse(process.argv); |
Built with git-ssb-web