Zilliqa / scilla

Scilla - A Smart Contract Intermediate Level Language
https://scilla-lang.org
GNU General Public License v3.0
241 stars 79 forks source link

Use `Cmdliner` to parse CLI in tools #1153

Open jubnzv opened 1 year ago

jubnzv commented 1 year ago

We could use Cmdliner instead of the manual parsing of CLI argument.

This will allow us to:

But we should keep the current CLI syntax, so that the miners do not have to upgrade their scripts.

jubnzv commented 1 year ago

Duplicate #1152

anton-trunov commented 1 year ago

We started using Cmdliner for the Scilla formatter scilla-fmt: it looks great, although, it uses double dashe -- for long CLI arguments and the Scilla checker and runner use single dash -.