Changed out StructOpt for Clap #13

Merged
mars merged 1 commits from UpgradeToClap into main 2022-09-09 10:00:15 +00:00
Member

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

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
spookdot added 1 commit 2022-09-06 21:18:31 +00:00
mars was assigned by emma 2022-09-06 22:16:39 +00:00
emma added the
enhancement
label 2022-09-06 22:17:05 +00:00
mars approved these changes 2022-09-09 10:00:08 +00:00
mars left a comment
Owner

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.

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.
mars merged commit 6ab97922cb into main 2022-09-09 10:00:15 +00:00
mars deleted branch UpgradeToClap 2022-09-09 10:00:19 +00:00
Sign in to join this conversation.
No description provided.