-
Notifications
You must be signed in to change notification settings - Fork 3k
Comparing changes
Open a pull request
base repository: spf13/cobra
base: main
head repository: dnephin/cobra
compare: main
- 16 commits
- 7 files changed
- 3 contributors
Commits on Jun 23, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 8f9eb04 - Browse repository at this point
Copy the full SHA 8f9eb04View commit details -
Check that arguments are in ValidArgs
If a command defined cmd.ValidArgs check that the argument is actually in ValidArgs and fail if it is not.
Configuration menu - View commit details
-
Copy full SHA for 50d6a0c - Browse repository at this point
Copy the full SHA 50d6a0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39f6f22 - Browse repository at this point
Copy the full SHA 39f6f22View commit details -
Refactor TakesArgs to use an interface for arg validation.
Signed-off-by: Daniel Nephin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6a3228b - Browse repository at this point
Copy the full SHA 6a3228bView commit details -
Move arg validation to after flag validation so that the help flag is…
… run first. Add MinimumNArgs(1) to a test cmd to verify behaviour. Signed-off-by: Daniel Nephin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6428ea - Browse repository at this point
Copy the full SHA e6428eaView commit details -
Pass the same args to ValidateArgs as the Run methods receive.
Signed-off-by: Daniel Nephin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d3ffbb2 - Browse repository at this point
Copy the full SHA d3ffbb2View commit details -
Add support for setting a function to handle flag parsing errors.
The default pflag error is to only print the bad flag. This enables an application to include a usage message or other details about the error. Signed-off-by: Daniel Nephin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c3463aa - Browse repository at this point
Copy the full SHA c3463aaView commit details -
Merge persistent flags before checking for a help flag.
Signed-off-by: Daniel Nephin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a02d71 - Browse repository at this point
Copy the full SHA 2a02d71View commit details
Commits on Jun 27, 2016
-
Traverse commands for args on parents.
Signed-off-by: Daniel Nephin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec02ead - Browse repository at this point
Copy the full SHA ec02eadView commit details
Commits on Jun 29, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 33c9f26 - Browse repository at this point
Copy the full SHA 33c9f26View commit details
Commits on Aug 9, 2016
-
Fix a bug in traversal with detecting flags.
Signed-off-by: Daniel Nephin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e4c18b - Browse repository at this point
Copy the full SHA 8e4c18bView commit details
Commits on Nov 3, 2016
-
Add a tags field for user defined tags on a Command.
Signed-off-by: Daniel Nephin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 962b765 - Browse repository at this point
Copy the full SHA 962b765View commit details -
Merge pull request #1 from dnephin/add-tags
Add a tags field for user defined tags on a Command
Configuration menu - View commit details
-
Copy full SHA for a3c0924 - Browse repository at this point
Copy the full SHA a3c0924View commit details
Commits on Jan 13, 2017
-
Allow examples to be formatted
Signed-off-by: Kenfe-Mickael Laventure <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54e37c5 - Browse repository at this point
Copy the full SHA 54e37c5View commit details -
Merge pull request #2 from mlaventure/let-examples-be-processed
Allow examples to be formatted
Configuration menu - View commit details
-
Copy full SHA for 0e9ca70 - Browse repository at this point
Copy the full SHA 0e9ca70View commit details
Commits on Jan 25, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 5d13e8c - Browse repository at this point
Copy the full SHA 5d13e8cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main