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

@ -5,7 +5,8 @@ version = "0.6.3"
authors = ["Fluence Labs"]
edition = "2018"
license = "Apache-2.0"
publish = false
repository = "https://github.com/fluencelabs/aquavm"
documentation = "https://docs.rs/air-interpreter-data"
keywords = ["fluence", "air", "webassembly", "programming-language"]
categories = ["wasm"]
@ -15,7 +16,7 @@ path = "src/lib.rs"
[dependencies]
air-utils = { version = "0.1.0", path = "../utils" }
air-parser = { version = "0.7.3", path = "../air-parser" }
aquavm-air-parser = { version = "0.7.3", path = "../air-parser" }
air-interpreter-interface = { version = "0.12.1", path = "../interpreter-interface" }
air-interpreter-cid = { version = "0.2.0", path = "../interpreter-cid" }
polyplets = { version = "0.3.2", path = "../polyplets" }