Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLI] Leo CLI is now on StructOpt and Anyhow (reopened) #632

Merged
merged 5 commits into from
Feb 11, 2021

Commits on Feb 8, 2021

  1. 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
    damirka committed Feb 8, 2021
    Configuration menu
    Copy the full SHA
    2ff2db2 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2021

  1. 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
    damirka committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    deb830c View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2021

  1. imports sorting, --lib flag removed

    - leo new/init now don't have --lib flag
    - imports sorted
    - command descriptions match old ones 1-to-1
    damirka committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    7867ab9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb050aa View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2021

  1. Update leo/main.rs

    howardwu authored Feb 11, 2021
    Configuration menu
    Copy the full SHA
    2c5c2eb View commit details
    Browse the repository at this point in the history