add dry-run to the bin commands

This commit is contained in:
Galfour 2019-06-10 22:08:56 +00:00
parent 10461764fb
commit 7b9e3b6699

View File

@ -131,4 +131,4 @@ let dry_run =
let docs = "Subcommand: run a smart-contract with the given storage and input." in
(term , Term.info ~docs cmdname)
let () = Term.exit @@ Term.eval_choice main [compile_file ; compile_parameter ; compile_storage]
let () = Term.exit @@ Term.eval_choice main [compile_file ; compile_parameter ; compile_storage ; dry_run ]