9669f0137b
Use prompt instead of argv arguments in scripts
...
This makes it easier to handle truffle arguments which we for example
need to specify the network.
So we ask the user for input instead on using the argv array which might
change.
2018-04-20 00:22:09 +02:00
b3d19e556c
Make the CLI a real reply
...
After calling the contract function a reply is started.
This allows to interact and inspect the result object or call more
functions on the contract.
2018-04-09 01:52:51 +02:00
ebb26f78c2
code style
2018-04-07 19:41:39 +02:00
1488862b42
Add check if method is defined on the contract
2018-04-04 22:42:16 +02:00
d42b0fa2dd
Add a general purpose contract CLI
...
This allows to call any method on any contract using the CLI.
for example:
$ truffle exec scripts/cli.js Operator proposalsCount
2018-04-04 22:24:33 +02:00