125 Commits (ef1ba861f79e79c12b58afc4e5c870fe28d44452)

Author SHA1 Message Date
Ajitem Sahasrabuddhe ef1ba861f7
add is set method to flag interface - refer #294
5 years ago
Ajitem Sahasrabuddhe d870ad6ccb
Fix all tests
5 years ago
Ajitem Sahasrabuddhe 3515ca97b6
Make app tests pass
5 years ago
Ajitem Sahasrabuddhe c75fee9224
Merge master @1.22.1 with v2
5 years ago
marwan-at-work 2fb0dc188f ignore compile errors
5 years ago
marwan-at-work 98e64f4507 add propagation tests
5 years ago
Dan Buch 65b801c818
Resolve remaining test errors for v1 => v2 merge
7 years ago
Dan Buch df5c6caa96
Back out the testify/assert addition 😅
7 years ago
Dan Buch 47a412375f
Resolved compile-time errors since merging from v1
7 years ago
Dan Buch a61867e5e6
Merge remote-tracking branch 'origin/v1' into merging-from-v1
7 years ago
Joe Richey joerichey@google.com 1794792adf Add ability to use custom Flag types
7 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 83497d2cda Merge remote-tracking branch 'origin/master' into v2-merge
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
lewo 6aa0ab6903 Merge branch 'v2' into v2-completion
8 years ago
Dan Buch 81c242dda6
Merge remote-tracking branch 'origin/master' into merging-from-v1
8 years ago
Antoine Eiche 94bc26fd1c Refactoring names from bash to shell
8 years ago
Dan Buch dd253d122c
Write err to stderr, exit 1 if err != ""
8 years ago
Dan Buch f7b2b93ffa
Merge remote-tracking branch 'origin/v1' into merging-from-v1
8 years ago
Jesse Szwedko 65da20beab Correctly show help message if `-h` is provided to subcommand
8 years ago
Dan Buch 99621d571e
Merge remote-tracking branch 'origin/v2' into declarativeness
8 years ago
Dan Buch df685fbacc
Remove `NewApp` initializer
8 years ago
Dan Buch 0f135b318e
Merge remote-tracking branch 'origin/v1' into merging-from-v1
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
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
8 years ago
Dan Buch 1fb52b3bce
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160
8 years ago
Dan Buch 4cae17cfe1
Ensure MultiError returned when both Before and After funcs given
8 years ago
Dan Buch ee736e063a
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160
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