Changed out StructOpt for Clap #13
No reviewers
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: minecrust/hopper#13
Loading…
Reference in New Issue
No description provided.
Delete Branch "UpgradeToClap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This Pull Request is meant to resolve issue #6 and also aid in expanding the CLI more easily in the future
For example StructOpt requires you to implement from_str if you want to use an Enum as possible options for an argument while Clap has a ValueEnum Trait that should do most of that for us
Also it doesn't require "ColoredHelp" be added everywhere
I did test it myself partly but would probably be good for someone else to double check
Looks good to me. I don't think this needs testing; there aren't many places this could go wrong. We'll fix anything that comes up.