Skip to content

refactor: rely on clap for parsing in miden_wrapper.rs #182

@lima-limon-inc

Description

@lima-limon-inc

Currently, the miden interface related code handles parsing, it does not rely on auxiliary crates like clap for instance. However, I believe we could/probably should rely on clap for miden as well, since:

  1. We're already bundling clap in the binary itself, since midenup uses it.
  2. It already handles cases like this.

Originally posted by @lima-limon-inc in #167

Using clap would probably reduce the amount of code we have in miden_wrapper and would avoid common pitfalls like the -h vs --help case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions