Commit Graph

14 Commits

Author SHA1 Message Date
damirka
7867ab9d54 imports sorting, --lib flag removed
- leo new/init now don't have --lib flag
- imports sorted
- command descriptions match old ones 1-to-1
2021-02-10 19:18:04 +03:00
damirka
deb830ce65 Follow up on comments to PR
- fixes import ordering (with rule group_imports)
- removes explicit 0group from pedersen hash example
- updater is now fully-anyhow-ed :)
- fixed doc comment in prove command
- renamed cmd to command in main
2021-02-09 14:08:40 +03:00
damirka
2ff2db2570 Leo CLI is now on StructOpt and Anyhow
Features:

- introduces new Command and Route traits for Leo commands and Aleo PM API
- most of the CLI code replace with higher-level abstraction - StructOpt
- anyhow used for error handling, no more custom error classes
- improves API - now every status code has its business logic
- adds global flags (e.g. --quiet to suppress output)
- error messages improved for convenience and better user experience

Closes:

- #604
- #599
- #584
- #277
- #376
2021-02-08 15:48:35 +03:00
howardwu
c935d6a486 Update license to 2021 2021-02-01 20:26:56 -08:00
howardwu
263f52c408 Clippy 2021-01-28 20:10:05 -08:00
howardwu
5791392dba Forgo using tracing to list the versions without a log status 2021-01-28 19:55:53 -08:00
howardwu
0893f58a7c Removes leo-version 2021-01-28 19:50:18 -08:00
raychu86
1dc27584b5 Cargo clippy 2020-12-04 17:19:48 -08:00
raychu86
9c5b34a14d Fix updater logic 2020-12-04 15:50:11 -08:00
collin
c9b7b0ccc6 Merge branch 'master' of github.com:AleoHQ/leo into feature/license-header 2020-10-21 12:18:54 -07:00
ljedrz
69d35063f2 perf: use .to_string() instead of single-param format!
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-16 15:52:45 +02:00
collin
692417a952 add license header check and missing licenses 2020-09-20 15:27:02 -07:00
raychu86
7cacef0dfb Add leo update automatic functionality 2020-09-02 22:29:15 -07:00
raychu86
e320d68aea Implement leo updater 2020-09-02 17:19:23 -07:00