135 Commits (fb0d7af151d7e30f131a344265b917b0353e7981)

Author SHA1 Message Date
lynn [they] 34b298bfe2
Merge branch 'master' into refactor-tests-drop-buffer-writer
5 years ago
Dmitry Kutakov ef89298b56
refactor tests - drop mock writer
5 years ago
Dmitry Kutakov 94a1912e25
reduce stdout logs in tests
5 years ago
Ajitem Sahasrabuddhe 969535eec6 replace log.Print with t.Log
5 years ago
Ajitem Sahasrabuddhe 63d19b6c5c remove comments
5 years ago
Ajitem Sahasrabuddhe b6d04dbae4 replace t.Logf with log.Printf, replace t.Log with log.Print and add gopath to bin
5 years ago
Ajitem Sahasrabuddhe cda3a4900e
Fix failing test
5 years ago
Ajitem Sahasrabuddhe 3bd997859c
make categories private
5 years ago
Robert Liebowitz 7d46b6d7f1
Avoid panic for missing flag value
5 years ago
Ajitem Sahasrabuddhe b161244b73
Merge latest master into v2-merge-master
5 years ago
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