pivaldi
59ef9567ae
Fix bash completion for deep level subcommands
2014-11-19 11:05:01 +01:00
Jesse Szwedko
229729fae6
Merge pull request #150 from kytrinyx/readme-example
...
Clarify example in README. Fixes #149
2014-11-13 13:20:49 -05:00
Katrina Owen
993877b447
Clarify example in README. Fixes #149
2014-11-13 06:27:03 -08:00
Jesse Szwedko
61f43e7695
Merge pull request #147 from peterbourgon/master
...
Make -v, --version optional
2014-11-12 09:51:28 -05:00
Peter Bourgon
179c7a5f7c
Make -v, --version optional
2014-11-12 12:38:58 +01:00
f7ebb761e8
Merge pull request #137 from nyushi/fix-example-code
...
Fix example code
2014-09-22 23:34:35 -04:00
Yushi Nakai
9610ab1729
Fix example code
2014-09-15 21:03:35 +00:00
Jesse Szwedko
7381bc4e62
Merge pull request #134 from Zearin/patch-1
...
Minor README tweaks
2014-08-27 20:51:55 -04:00
Tony
023450545e
Minor README tweaks
2014-08-24 12:28:10 -04:00
Jeremy Saenz
687db20fc3
Merge pull request #98 from jmervine/master
...
Exposing 'VersionPrinter'
2014-08-10 14:42:28 -07:00
Josh Mervine
089def51d8
Tweaking tests, removing local import.
2014-08-04 11:30:13 -07:00
Josh Mervine
120f0688a4
Merge remote-tracking branch 'parent/master'
...
Conflicts:
cli_test.go
flag_test.go
2014-08-04 11:25:45 -07:00
Jeremy Saenz
aa19913be3
Merge pull request #96 from ghigt/master
...
Add time.Duration flag type
2014-08-02 14:44:59 -07:00
Ghislain Gt
98af61a59f
Add time.Duration flag type
2014-08-02 22:32:32 +01:00
Jeremy Saenz
c7ff3bf705
Merge pull request #95 from artnez/master
...
Add FlagNames() method to Context
2014-08-02 13:05:49 -07:00
Jeremy Saenz
5170d7f005
Merge pull request #99 from nyushi/add-zsh-autocomplete
...
Zsh completion
2014-08-02 13:02:06 -07:00
Jeremy Saenz
e30d7bdf28
Merge pull request #121 from KAllan357/add_cnf_to_subcommand
...
Copy CommandNotFound into the NewApp for subcommands
2014-08-02 12:57:48 -07:00
Jeremy Saenz
ec11175ac1
Merge pull request #123 from AudriusButkevicius/help
...
Additional help cleanup
2014-08-02 12:56:38 -07:00
Jeremy Saenz
0e069d0611
Update README.md
2014-08-02 12:46:57 -07:00
Jeremy Saenz
8b5fb40131
Added contributor guidelines
2014-08-02 12:45:44 -07:00
Jeremy Saenz
6543424570
Merge pull request #122 from AudriusButkevicius/author
...
Print author
2014-08-02 12:37:14 -07:00
Jeremy Saenz
565493f259
Merge pull request #108 from modcloth/env-config-fun
...
Adding support for default from the env
2014-08-02 12:32:48 -07:00
Audrius Butkevicius
527fbe0671
Unify template formatting
2014-07-26 22:24:08 +01:00
Audrius Butkevicius
fcc1613bb5
Do not show empty description section
2014-07-26 22:23:36 +01:00
Audrius Butkevicius
e38bac8225
Print author
2014-07-26 22:03:32 +01:00
Kyle Allan
156cd267e5
move to CommandNotFound copy to startApp
2014-07-25 10:06:04 -07:00
Kyle Allan
1880853f15
copy the CommandNotFound when running as a subcommand
2014-07-24 23:48:10 -07:00
e8939d2aa0
Merge remote-tracking branch 'origin/master' into env-config-fun
...
Conflicts:
README.md
app_test.go
cli_test.go
2014-07-15 16:54:29 -04:00
Jeremy Saenz
27ecc97192
Merge pull request #112 from AudriusButkevicius/swap
...
Add Args.Swap command for swapping arguments
2014-07-15 12:35:57 -07:00
Jeremy Saenz
8c34b12d83
Merge pull request #114 from AudriusButkevicius/shortcut
...
Add App.RunAndExitOnError shortcut
2014-07-15 12:30:47 -07:00
Jeremy Saenz
c7d940a369
Merge pull request #115 from AudriusButkevicius/hidehelp
...
Make help command optional
2014-07-15 12:29:21 -07:00
Jeremy Saenz
650665814a
Merge pull request #116 from modcloth/add-go-vet-to-travis-build
...
Run `go vet` as part of Travis build
2014-07-15 12:28:19 -07:00
jszwedko
9e5f47524b
Run go vet
as part of Travis build
2014-07-14 13:48:52 -04:00
Audrius Butkevicius
449f261ee9
Add App.RunAndExitOnError shortcut
2014-07-13 18:56:43 +01:00
Audrius Butkevicius
6f8cfa703a
Add Args.Swap command for swapping arguments
...
The usecase:
my-cli user <USERID> set <FIELD> <VALUE>
Being able to swap <USERID> with set argument, we can have nested subcommands while preserving all variable arguments along the way.
2014-07-13 18:56:02 +01:00
Audrius Butkevicius
9e036e08f1
Fix tests
2014-07-13 18:52:30 +01:00
Audrius Butkevicius
bc02933ea4
Fix Subcommand help text
2014-07-13 18:51:24 +01:00
Audrius Butkevicius
d6d4e6448b
Hide "Options" sections in help, if no flags are defined
2014-07-13 18:51:17 +01:00
Audrius Butkevicius
4a645835f0
Add HideHelp flag in App and Command
2014-07-13 18:51:09 +01:00
Jeremy Saenz
d38a3b82a6
Merge pull request #109 from modcloth/go-vetting
...
Go vetting
2014-07-11 15:57:55 -07:00
48869e13a4
Addressing go vet
offenses
2014-07-11 18:30:16 -04:00
jszwedko
c99454b374
Adding struct field names to examples in README
...
Idiomatic Go
2014-07-11 18:17:30 -04:00
jszwedko
bcfb32b8b0
Updating tests to pass go vet
...
Mostly lack of struct field names in literals and one sprintf format
specifier mismatch.
2014-07-11 18:16:19 -04:00
fc16c67be3
Updating structs to use labels, adding tests for env stuff
2014-07-11 18:13:10 -04:00
97fd93272f
Starting to hack in some env var configuration goodness
2014-07-11 13:29:56 -04:00
Jeremy Saenz
5ddbbe33e5
Merge pull request #106 from gemnasium/fix-subcmd-global-flags
...
Fix global flags in Subcommands
2014-07-08 07:54:03 -07:00
Philippe Lafoucrière
df5fb46048
Fix global flags in Subcommands
...
closes #69
2014-07-06 11:04:48 +02:00
Yushi Nakai
742745ce19
add completion file for zsh
2014-06-19 01:06:23 +09:00
Josh Mervine
8f55ca83ff
running go fmt
2014-06-17 22:33:30 -07:00
Josh Mervine
7ca86444e8
making all pathing for cli local in tests for easier fork testing
2014-06-17 22:28:33 -07:00