111 Commits (f00f35ce8c1a6ebd7a3900901dd8b05049fbefc7)

Author SHA1 Message Date
Lynn Cyrin f00f35ce8c
docs
5 years ago
Lynn Cyrin 17108e1db4
tabs
5 years ago
Lynn Cyrin cf824804c2
update tests
5 years ago
Lynn Cyrin 80d7e91191
fill out test cases
5 years ago
Lynn Cyrin 746866c10d
add update integration with the help output
5 years ago
Dan Buch 5fc8124af1
Merge branch 'master' into merging-jereksel-zsh
6 years ago
Nico Windler 3a87b13b01 Fix args reordering when bool flags are present
6 years ago
Tyler Davis 40263f4d6a Merge branch 'master' into master
7 years ago
Sebastian Sprenger c3cc74dac7 fix ineffective assigns
7 years ago
Dan Buch 688c5a9d4f Merge branch 'master' into merging-jereksel-zsh
7 years ago
Tyler Davis 5d528e2052 use exit errors in uts
7 years ago
Tyler Davis 58450552ee Add Test
7 years ago
Joe Richey joerichey@google.com 1794792adf Add ability to use custom Flag types
7 years ago
Dan Buch 7250c97913 Merge branch 'master' into merging-jereksel-zsh
8 years ago
Kasey Klipsch 8fa549846e #556 broke the api for users who were using the ActionFunc
8 years ago
Joshua Rubin 2da42640ad
Merge remote-tracking branch 'origin/master' into completion_fix
8 years ago
Joshua Rubin 3272baf434
add a test for shell completion using incomplete flags
8 years ago
Jesse Szwedko e367fafa3d Return an error when parsing environment variables for values fails
8 years ago
Jesse Szwedko 0113f56d10 If no action is specified on the command or app, print the help documentation
8 years ago
Jesse Szwedko b377b5d9e9 Use type assertions rather than reflection to determine how to call the `Action`
8 years ago
Jesse Szwedko 61db37e7ae Merge branch 'master' into default-writer
8 years ago
Jesse Szwedko f614c177b7 Merge pull request #543 from wking/app-description
8 years ago
W. Trevor King 3c2bce5807 help: Cleanup AppHelpTemplate trailing whitespace
8 years ago
Richard Kovacs 4cc2bad36e Display error instead of just say command is incorrect
8 years ago
Jesse Szwedko 508a23430b Default app.Writer to os.Stdout
8 years ago
Dan Buch 363d9c9a31
Add a hack so that zsh completion only runs for zsh
8 years ago
Dan Buch dd253d122c
Write err to stderr, exit 1 if err != ""
8 years ago
Jesse Szwedko 65da20beab Correctly show help message if `-h` is provided to subcommand
8 years ago
Dan Buch 3c5afd4757
Hide help command for category tests
8 years ago
Dan Buch 5a3515fdf8
Focus on catching fewer panics in HandleAction
8 years ago
Matt Farina 2f4ec31264 Fixed spelling and gofmt issues
8 years ago
Dan Buch dfa9a87bee
Add tests for App.VisibleCategories & App.VisibleCommands
8 years ago
Dan Buch cc481d6b0e
Adjust command hiding to use similar convention as hidden flags
8 years ago
Dan Buch 4cae17cfe1
Ensure MultiError returned when both Before and After funcs given
8 years ago
Dan Buch 61d4175525
Merge remote-tracking branch 'origin/master' into txgruppi-develop
8 years ago
Dan Buch 2c0e13ecf8
Revising/adding tests that assert order of operations inside App.Run
8 years ago
Dan Buch b453bf5940
Clarifying errors returned from HandleAction + tests
8 years ago
Dan Buch b7329f4968
Switch from multi-return with exit codes to ExitCoder check
8 years ago
Dan Buch 10c8309d84
Merge branch 'develop' of https://github.com/txgruppi/cli into txgruppi-develop
8 years ago
Jesse Szwedko 042842b819 Remove CategorizedHelp from App and allow subcommands to have categories
8 years ago
Soulou d0997e8f99 Set Categories as a read-only method and fix tests
8 years ago
adamclerk cde8418658 Fixes spelling issues and import alphabetical issues
8 years ago
Jesse Szwedko d5f087da9d Merge pull request #289 from KSubedi/master
8 years ago
Gregor Noczinski c462071a52 * Added ability to customize usage error messages
8 years ago
Andreas Kupries bb4e78eb6a Fixed mishandling of a "-"(dash)-argument causing reordering of cli non-flag arguments.
8 years ago
Gregor Noczinski f90cd56647 Handle Before and After of Command without handling it as subCommand if there is no subCommand.
9 years ago
Håvard Haugen 7b94fd3aad test: avoid output from "go test" when tests pass
9 years ago
Jesse Szwedko 4fc241fb17 Update examples to use correct naming convention
9 years ago
Kaushal Subedi c70ad9b688 fixed tests
9 years ago
Tristan Zajonc c7aac252f1 add tests
9 years ago