91 Commits (9e21e0e342fc012f6e980d2d847ae979ab821a36)

Author SHA1 Message Date
Dan Buch 3d75e9e711
Go with interfaces + private opaque types
8 years ago
Dan Buch 61710ff108
Make slice wrapping pattern more consistent
8 years ago
Dan Buch cd10b49473
Minimize struct copying
8 years ago
Dan Buch c19dbaf230
Remove deprecated things and supporting code
8 years ago
Dan Buch 32ebecfbb5
Merge remote-tracking branch 'origin/master' into v2
8 years ago
Matt Farina 2f4ec31264 Fixed spelling and gofmt issues
8 years ago
Dan Buch bac790c819
Merge remote-tracking branch 'origin/master' into v2
8 years ago
Dan Buch dfa9a87bee
Add tests for App.VisibleCategories & App.VisibleCommands
8 years ago
Jesse Szwedko f585ec7cb8 Remove reordering of flags and arguments
8 years ago
Dan Buch cc481d6b0e
Adjust command hiding to use similar convention as hidden flags
9 years ago
Dan Buch 1fb52b3bce
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160
9 years ago
Dan Buch 4cae17cfe1
Ensure MultiError returned when both Before and After funcs given
9 years ago
Dan Buch ee736e063a
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160
9 years ago
Dan Buch 61d4175525
Merge remote-tracking branch 'origin/master' into txgruppi-develop
9 years ago
Dan Buch 2c0e13ecf8
Revising/adding tests that assert order of operations inside App.Run
9 years ago
Dan Buch b453bf5940
Clarifying errors returned from HandleAction + tests
9 years ago
Dan Buch b7329f4968
Switch from multi-return with exit codes to ExitCoder check
9 years ago
Dan Buch 10c8309d84
Merge branch 'develop' of https://github.com/txgruppi/cli into txgruppi-develop
9 years ago
Dan Buch cb433e7468 Use NewIntSlice and NewStringSlice internally
9 years ago
Jesse Szwedko 042842b819 Remove CategorizedHelp from App and allow subcommands to have categories
9 years ago
Soulou d0997e8f99 Set Categories as a read-only method and fix tests
9 years ago
adamclerk cde8418658 Fixes spelling issues and import alphabetical issues
9 years ago
Jesse Szwedko d5f087da9d Merge pull request #289 from KSubedi/master
9 years ago
Gregor Noczinski c462071a52 * Added ability to customize usage error messages
9 years ago
Andreas Kupries bb4e78eb6a Fixed mishandling of a "-"(dash)-argument causing reordering of cli non-flag arguments.
9 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
Tristan Zajonc aced6e8739 fix tests
9 years ago
Tarcísio Gruppi 1510d7e722
Updated tests to support exit code
9 years ago
Edward Sheffler III 8ea1232ede Improve vendoring options by removing self-referential imports in tests.
9 years ago
Brian Goff 758ad1e836 Sets a subcommand's parent cmd
9 years ago
Fabian Ruff a2d4ae5939 Fix global flags processing on top level
9 years ago
Dan Buch 4407569431 Merge branch 'master' into fix-231
9 years ago
Jesse Szwedko 55b8924c2b Merge pull request #230 from codegangsta/do-not-swallow-after-error
9 years ago
Jesse Szwedko 2272dad83e Version and help check should look for local flags too
9 years ago
Jesse Szwedko 854c52192c Merge pull request #227 from databus23/global-flags-from-all-parents
9 years ago
Jesse Szwedko 7ed7a51f86 Aggregate errors from Before/After
9 years ago
Sergey Romanov f47f7b7e85 Fix panic if Valus in Int/StringSliceFlasg is missing
9 years ago
Fabian Ruff 65d50017d4 search context hierachy for global flags
9 years ago
jszwedko b8104e5da7 Set writer when running command as app
10 years ago
jszwedko e842547421 Readd printHelp function back
10 years ago
jszwedko daad50e530 Turns out I didn't mean to add ExampleAppCommands at all
10 years ago
jszwedko 474646abed Didn't mean to remove ExampleAppSubcommand
10 years ago
jszwedko bf65971a6a Add `Command.Aliases` and deprecate `Command.ShortName`
10 years ago
jszwedko 01cdaa065a Merge remote-tracking branch 'origin/master' into add-multi-author-support
10 years ago
Harrison c6592bb487 app, help: add backwards compatibility for Authors
10 years ago
Jesse Szwedko 532d0bc2e3 Merge pull request #151 from imdario/master
10 years ago