feat(tools): merge some tools into the air CLI tool (#509)

* feat(tools): merge some tools into the `air` CLI tool

`air-beautify` and `air-trace` are merged into a single `air` tool.  Its
crate name is `fluence-air-cli` as otherwise it confilicts with `air`
interpreter crate.  The tool has subcommands `beautify`, `run`
and `stats`.

* Add one-letter aliases to `air` CLI subcommands

+ `air beautify` => `air b`
+ `air run` => `air r`
+ `air stats` => `air s`

---------

Co-authored-by: Mike Voronov <michail.vms@gmail.com>
This commit is contained in:
Ivan Boldyrev
2023-03-15 16:59:30 +07:00
committed by GitHub
parent 790d3c2119
commit 79ac153f1d
41 changed files with 215 additions and 200 deletions

View File

@ -15,7 +15,7 @@ path = "src/lib.rs"
[dependencies]
air-test-utils = { version = "0.4.5", path = "../air-lib/test-utils" }
air-parser = { version = "0.7.3", path = "../air-lib/air-parser" }
aquavm-air-parser = { version = "0.7.3", path = "../air-lib/air-parser" }
itertools = "0.10.5"
strum = { version="0.24.1", features=["derive"] }