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: Replace docopt with urfave/cli. #48

Merged
merged 4 commits into from
Jun 10, 2022
Merged

cli: Replace docopt with urfave/cli. #48

merged 4 commits into from
Jun 10, 2022

Conversation

varungandhi-src
Copy link
Contributor

Fixes issue #25.

Test plan

Manually tested + updated existing tests. I'll add some follow-up tests as part of #19.

fmt.Println("0.1.0")
os.Exit(0)
}
// FIXME: What is the right way to print help text and error here?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should file an issue to fix this if we don't know a good way to fix this right now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#49

Copy link
Member

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 I tried this locally and it's a great improvement

{[]string{"convert", "--to=tmp.lsif"}, argMap{"--to": "tmp.lsif"}},
{[]string{"convert", "--from=tmp.scip", "--to=tmp.lsif"}, argMap{"--from": "tmp.scip", "--to": "tmp.lsif"}},
{[]string{"convert", "--to=tmp.lsif", "--from=tmp.scip"}, argMap{"--from": "tmp.scip", "--to": "tmp.lsif"}},
func TestReadmeInSync(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

@olafurpg olafurpg merged commit 5e84217 into main Jun 10, 2022
@olafurpg olafurpg deleted the vg/use-urfave-cli branch June 10, 2022 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants