-
Notifications
You must be signed in to change notification settings - Fork 55
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: public commands API #232
Merged
Merged
Commits on May 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ca3f3d7 - Browse repository at this point
Copy the full SHA ca3f3d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b65bd90 - Browse repository at this point
Copy the full SHA b65bd90View commit details
Commits on Jun 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8aa94a8 - Browse repository at this point
Copy the full SHA 8aa94a8View commit details
Commits on Jun 14, 2023
-
cli: remove AddHelpCategory and improve AddCommand
* AddHelpCategory() was removed in favor of an exported HelpCategories global. * AddCommand() now accepts a CmdInfo struct as its sole argument.
Configuration menu - View commit details
-
Copy full SHA for 7b9c17c - Browse repository at this point
Copy the full SHA 7b9c17cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e3bde9 - Browse repository at this point
Copy the full SHA 4e3bde9View commit details
Commits on Jun 15, 2023
-
* Removed unused struct members such as Aliases and Hidden. * Replace the Extra function with PassAfterNonOption, as this is the only internal flags.Command option that justified its need. * Rename OptDesc/ArgDesc for clarity. * Document the public API.
Configuration menu - View commit details
-
Copy full SHA for f8b585e - Browse repository at this point
Copy the full SHA f8b585eView commit details
Commits on Jun 19, 2023
-
* CmdInfo.{ShortHelp,LongHelp} -> CmdInfo.{Summary,Description} * CmdInfo.PositionalArgs -> CmdInfo.ArgumentsHelp * PositionalArg.{Name,ShortHelp} -> ArgumentHelp.{Placeholder,Help}
Configuration menu - View commit details
-
Copy full SHA for 4267955 - Browse repository at this point
Copy the full SHA 4267955View commit details
Commits on Jun 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c1669b0 - Browse repository at this point
Copy the full SHA c1669b0View commit details
Commits on Jun 23, 2023
-
* CmdInfo.ArgsHelp now contains the help text for short, long options and positional arguments, using a new convention. * func init() on all commands is now moved to the top of the source file, and help strings no longer are globals, for better readability and for immediate information about the command when reading from the top. * Remove debug command (which duplicated Parser() functionality) * Refactor Parser() * Still needs fix: broken workaround that has been removed, which previously overrode the usage string from the parser so that help manuals don't introduce the [<command>-OPTIONS] string on the usage line. This is a bug in both the CLI help and manpage generation code in go-flags, and will be tackled in a future PR in canonical/go-flags. See canonical/go-flags#4
Configuration menu - View commit details
-
Copy full SHA for 8ac498e - Browse repository at this point
Copy the full SHA 8ac498eView commit details
Commits on Jun 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d9d63d1 - Browse repository at this point
Copy the full SHA d9d63d1View commit details
Commits on Jun 28, 2023
-
* Strip some dead code * Minor corrections to keep staticcheck happy.
Configuration menu - View commit details
-
Copy full SHA for bc316ad - Browse repository at this point
Copy the full SHA bc316adView commit details
Commits on Jun 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6a34f53 - Browse repository at this point
Copy the full SHA 6a34f53View commit details
Commits on Jul 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fbb805c - Browse repository at this point
Copy the full SHA fbb805cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 908a4df - Browse repository at this point
Copy the full SHA 908a4dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50fd3dd - Browse repository at this point
Copy the full SHA 50fd3ddView commit details
Commits on Jul 5, 2023
-
The following flags will pass: `-a`, `--long-flag`, `--b`, `--this-is-a-flag`; the following flags won't: `---`, `---c`, `--quasi--valid`
Configuration menu - View commit details
-
Copy full SHA for 8bc71be - Browse repository at this point
Copy the full SHA 8bc71beView commit details
Commits on Jul 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8417216 - Browse repository at this point
Copy the full SHA 8417216View commit details
Commits on Jul 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2e66374 - Browse repository at this point
Copy the full SHA 2e66374View commit details
Commits on Aug 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 34e9f81 - Browse repository at this point
Copy the full SHA 34e9f81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 472aee9 - Browse repository at this point
Copy the full SHA 472aee9View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.