aj-bagwell / clio

A rust library for parsing command line file name arguements
13 stars 8 forks source link

update for use with Clap 3.1 #2

Closed kwigley closed 2 years ago

kwigley commented 2 years ago

maybe a fix for #1 to be compatible with clap 3+? 😄

aj-bagwell commented 2 years ago

Thanks for raising this and submitting the pull request, I have updated all the docs to clap to fix the build issues here and gone with a slightly different aproach by keeping try_from_os_str as is for compatibilty with structopt but making TryFrom::try_from work for clap.

Let me know if you thinks it works for you and I will merge it and push a new release.

kwigley commented 2 years ago

@aj-bagwell awesome! looks great, I'll close this PR. Thanks!