Omer Murat Yildirim
802f64479d
Add NArg method to context structure
9 years ago
Jesse Szwedko
5db74198de
Merge pull request #334 from djui/patch-1
...
Fix semantic typo
9 years ago
Uwe Dauernheim
a755a95d01
Fix semantic typo
9 years ago
Jesse Szwedko
0ab42fd482
Merge pull request #332 from adamclerk/fix/spellingErrors
...
Fixes spelling issues and import alphabetical issues
9 years ago
adamclerk
cde8418658
Fixes spelling issues and import alphabetical issues
...
Using goreportcard.com I noticed a few spelling errors. I really love codegangsta/cli
and wanted to help improve it.
9 years ago
Jesse Szwedko
8cea2901d4
Merge pull request #331 from blaubaer/windows-ci
...
Added ci configuration for windows using AppVeyor
9 years ago
chrisprobinson
0c3102278a
Update to add yaml support
9 years ago
Chris Robinson
9001f738f4
Merge pull request #4 from codegangsta/master
...
merge
9 years ago
Gregor Noczinski
d81f682964
* Added ci configuration for windows using AppVeyor
9 years ago
Jesse Szwedko
d5f087da9d
Merge pull request #289 from KSubedi/master
...
Added command to have a custom text on the USAGE section of help
9 years ago
Jesse Szwedko
94d8ca740d
Merge pull request #321 from blaubaer/master
...
Improve help messages for empty strings and do os specific envVar handling on windows
9 years ago
Jesse Szwedko
3565e5dfe6
Merge pull request #322 from blaubaer/custom-error-handling
...
Introduce custom usage error handling
9 years ago
Gregor Noczinski
24fa3e9ab4
Merge remote-tracking branch 'origin/custom-error-handling' into custom-error-handling
...
# Conflicts:
# app.go
9 years ago
Gregor Noczinski
66c1742012
* Fixed typos
9 years ago
Gregor Noczinski
c462071a52
* Added ability to customize usage error messages
9 years ago
Jesse Szwedko
0d23d77bee
Merge pull request #329 from leonardyp/master
...
optimization of some places
9 years ago
leonardyp
6f6e8caf6c
Repeat context statement because of a is a pointer
...
performance optimization
gofmt code
9 years ago
Jesse Szwedko
cf1f63a727
Merge pull request #323 from hpcloud/master
...
Fixed mishandling of a "-"(dash)-argument causing reordering of cli n…
9 years ago
Jesse Szwedko
114097b816
Merge pull request #326 from tcyrus/patch-1
...
Update README.md
9 years ago
Timothy Cyrus
918b268473
Update README.md
...
Replace PNG Badge With SVG and other minor fixes
9 years ago
Andreas Kupries
bb4e78eb6a
Fixed mishandling of a "-"(dash)-argument causing reordering of cli non-flag arguments.
...
Added test demonstrating issue (PASS with fix, FAIL without).
9 years ago
Gregor Noczinski
cb7a7c56ee
* Fixed typos
9 years ago
Gregor Noczinski
7319f042e4
* Added ability to customize usage error messages
9 years ago
Gregor Noczinski
09e2c89597
* Changed the way how to return the result. Because of strange ci failure
9 years ago
Gregor Noczinski
82ddbd9a07
* Improve GenericFlag.String() by suppressing empty "" for GenericFlags on nil or empty Generic.String()
...
* Cleanup StringFlag.String()
* Add os specific envHint handling for Windows (%ENV_VAR% instead of $ENV_VAR on posix systems)
9 years ago
Jesse Szwedko
f9cc3001e0
Merge pull request #315 from blaubaer/master
...
Improved Before/After handling for Commands
9 years ago
Jesse Szwedko
ca6f864fa3
Merge pull request #320 from technosophos/master
...
Remove panic from help.
9 years ago
Matt Butcher
54b6cca78e
Remove panic from help.
...
There is a panic in printHelp that can be trivially triggered when the
shell closes os.Stdout. This happens, for example, when data is piped
between a cli app and something else.
See https://github.com/helm/helm/issues/387
9 years ago
Gregor Noczinski
01fdb2cca9
#315 fixed typo
9 years ago
Gregor Noczinski
f3c8e07836
Also show help if App/Command Before produces error.
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
Jesse Szwedko
c31a797586
Merge pull request #311 from Jille/exportFlagNames
...
Export cli.Flag.GetName (previously cli.Flag.getName)
9 years ago
Jesse Szwedko
8eb7738f18
Merge pull request #312 from ysh7/master
...
use path.Base in Name & HelpName as default values
9 years ago
Yagnesh Mistry
b0b9bd5dac
use path.Base in Name & HelpName as default values
9 years ago
Jille Timmermans
f101a00018
Export cli.Flag.GetName (previously cli.Flag.getName)
9 years ago
Jesse Szwedko
b5232bb293
Merge pull request #309 from dedalusj/check-completion-order
...
Run check completion before error checking
9 years ago
Jacopo
4a8406ac89
Run check completion before error checking
...
Running check completion before error checking allows for completion of flags when no character has been typed yet
9 years ago
Jesse Szwedko
a3c75bc94e
Merge pull request #304 from osocurioso/silence-tests
...
test: avoid output from "go test" when tests pass
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
Jesse Szwedko
0302d3914d
Merge pull request #283 from codegangsta/really-skip-flag-parsing
...
Really skip flag parsing
9 years ago
Jesse Szwedko
c75c9d0182
Merge pull request #298 from codegangsta/use-correct-example-naming
...
Use correct example naming and test on Go tip
9 years ago
Jesse Szwedko
0f218fffa5
Remave cli_test.go
...
Examples are redundant with the ones in app_test.go
9 years ago
Jesse Szwedko
631930114f
Also test on Go tip
...
But allow it to fail
9 years ago
Jesse Szwedko
4fc241fb17
Update examples to use correct naming convention
...
See https://golang.org/pkg/testing/#hdr-Examples
9 years ago
Jesse Szwedko
49bed4ccde
Merge pull request #295 from rosenhouse/update-travis-versions
...
Update golang versions used by Travis CI
9 years ago
Jesse Szwedko
93b4ad6d1f
Merge pull request #297 from ston1th/master
...
Added destination scan support for flags
9 years ago
ston1th
4579bbf129
added description to README.md
9 years ago
ston1th
25ef368235
added destination scan testing and BoolT
9 years ago
ston1th
bb7e45acf1
Added destination scan support for flags
9 years ago
Gabe Rosenhouse
7c6caf69ef
Update golang versions used by Travis CI
...
- current latest: 1.5.1
9 years ago