33 Commits (main)

Author SHA1 Message Date
dearchap c344b46a29
Feature:(issue_1090): Add unwrap for ExitCoder (#1545)
2 years ago
Josh Soref 7732a512f9
Spelling (#1543)
2 years ago
Naveen Gogineni 07e1fdf17d Cleanup context.go
3 years ago
Robert Liebowitz 959cf9de8a Update docs and tests around cli.Exit
4 years ago
Liam Hampton 0f11fc8f30 amend comments
4 years ago
Liam Hampton f29ad2ad48 fix some golint errors show in go report card
4 years ago
Ajitem Sahasrabuddhe afbaca6ed7
Fix README.md
5 years ago
Ajitem Sahasrabuddhe 2024bed22a
Fix test cases for context, docs, errors, fish, flags and funcs
5 years ago
Ajitem Sahasrabuddhe c75fee9224
Merge master @1.22.1 with v2
5 years ago
Dan Buch 65b801c818
Resolve remaining test errors for v1 => v2 merge
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
Jesse Szwedko 9e5b04886c Remove logic that exited even if the error was not an OsExiter
7 years ago
HIROSE Masaaki 286b4b56d9 Document on exit code in case of MultiError is given
7 years ago
hirose31 70a2c94089 Merge branch 'master' into fix/handle-multierror
7 years ago
mh-cbon b0a8f25773 558: handle multi formatter errors
8 years ago
Jesse Szwedko 36053a9dfd Merge branch 'master' into fix/handle-multierror
8 years ago
HIROSE Masaaki 6c50b15a27 Exit with the code of ExitCoder if exists
8 years ago
mh-cbon 79591889a9 Close #558: detect FormattedError and print their stack trace
8 years ago
Cody Moore 6c2c80959b Typo in comments
8 years ago
HIROSE Masaaki ce42837702 Call HandleExitCoder for all members of MultiError.Errors
8 years ago
Dan Buch 81c242dda6
Merge remote-tracking branch 'origin/master' into merging-from-v1
8 years ago
Dan Buch e9688813e4
Refine error handling behavior
8 years ago
Dan Buch dd253d122c
Write err to stderr, exit 1 if err != ""
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
Matt Farina 2f110bd745 Cleaned up exported func comments per golint
8 years ago
Matt Farina 6f0b442222 Update to ErrWriter and make available on app
8 years ago
Matt Farina 2a256d4c53 Provide a variable for writing output with a default of os.Stderr
8 years ago
Dan Buch 4b4c07bd4f
Ensure HandleAction/HandleExitCoder work correctly with *ExitError
8 years ago
Dan Buch d48e22a9dd
Docs around exit error behavior, + handling MultiError in HandleExitCoder
8 years ago
Dan Buch f688d47415
Encapsulate ExitCoder check into a lil func
8 years ago
Dan Buch f3e55a0783
Move error types to errors.go
8 years ago