-
Notifications
You must be signed in to change notification settings - Fork 36
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
Conversation
Fixes issue 25.
d8b272c
to
82f31e4
Compare
fmt.Println("0.1.0") | ||
os.Exit(0) | ||
} | ||
// FIXME: What is the right way to print help text and error here? |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this 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) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍
Fixes issue #25.
Test plan
Manually tested + updated existing tests. I'll add some follow-up tests as part of #19.