leonardyp
|
6f6e8caf6c
|
Repeat context statement because of a is a pointer
performance optimization
gofmt code
|
9 years ago |
Gregor Noczinski
|
01fdb2cca9
|
#315 fixed typo
|
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
Some tests where printing to os.Stdout as a side effect even if the
output was not used/checked in the test.
|
9 years ago |
Nathan LeClaire
|
3323ab4460
|
Use a test table and add --help test
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
|
9 years ago |
Jesse Szwedko
|
8cd49b108c
|
Update TestCommandIgnoreFlagsIncludingFirstArgument to test for arguments
|
9 years ago |
Nathan LeClaire
|
c538c376c9
|
Do not return error when flag parsing should be skipped
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
|
9 years ago |
Emil Thelin
|
a9585bb11c
|
Added a flag for TestCommandIgnoreFlags
|
9 years ago |
Edward Sheffler III
|
8ea1232ede
|
Improve vendoring options by removing self-referential imports in tests.
|
9 years ago |
Fabian Ruff
|
65d50017d4
|
search context hierachy for global flags
|
9 years ago |
jszwedko
|
bf65971a6a
|
Add `Command.Aliases` and deprecate `Command.ShortName`
`Aliases` will be more flexible while still allowing "ShortName"
behaviour via `Aliases`.
|
10 years ago |
Josh Mervine
|
089def51d8
|
Tweaking tests, removing local import.
|
10 years ago |
Josh Mervine
|
8f55ca83ff
|
running go fmt
|
10 years ago |
Josh Mervine
|
7ca86444e8
|
making all pathing for cli local in tests for easier fork testing
|
10 years ago |
Dan Wendorf and Karen Wang
|
6c5f810d8f
|
Add SkipFlagParsing option to Command
|
11 years ago |
Jeremy Saenz
|
ed1ee94250
|
Adding some docs
|
11 years ago |
Jeremy Saenz
|
5bb6efd8bd
|
JMS #4: Fixed compile error
|
11 years ago |
Jeremy Saenz
|
393a533b66
|
JMS #4: Removing tests from command_test
|
11 years ago |
Jeremy Saenz
|
3119b075d6
|
JMS #4: Flag testing
|
11 years ago |
Jeremy Saenz
|
3f76896c4f
|
JMS #4: Getting some cli tests going. Testing out flags
|
11 years ago |