-
Notifications
You must be signed in to change notification settings - Fork 255
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
Added Cobra for the Command Line Interface #321
Conversation
2a1860c
to
8ef3108
Compare
Codecov Report
@@ Coverage Diff @@
## master #321 +/- ##
==========================================
+ Coverage 79.93% 80.03% +0.09%
==========================================
Files 23 25 +2
Lines 2218 2254 +36
==========================================
+ Hits 1773 1804 +31
- Misses 342 347 +5
Partials 103 103
Continue to review full report at Codecov.
|
17623ff
to
34e2636
Compare
What's the motivation of having a command-based CLI as opposed to an option-based one? |
@aslakhellesoy If you now would execute There have also been previous discussions here to build a function that checks the gherkin and the registered step definitions, which would fit well into the sub-command structure as well, maybe as an When starting out with godog and gherkin, I would have liked to see something like
For people that are used to using the go binary, there are two different solutions that solve a similar problem: |
@aslakhellesoy what do you think? |
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.
Love this feature 👍
> godog help
> godog help run
> godog --help (godog v0.10.0)