Antoine Eiche
94bc26fd1c
Refactoring names from bash to shell
...
The refactoring is required since completion is also supported for zsh
shell.
Refactoring details:
- flag generate-bash-completion -> generate-completion
- var EnableBashCompletion -> EnableShellCompletion
- var BashComplete -> ShellComplete
- var BashCompletionFlag -> GenerateCompletionFlag
- type BashCompleteFunc -> ShellCompleteFunc
2016-07-26 15:32:03 +02:00
Antoine Eiche
34a8b004d2
Documentation regarding the init-completion flag
2016-07-26 15:32:03 +02:00
Dan Buch
f7b2b93ffa
Merge remote-tracking branch 'origin/v1' into merging-from-v1
2016-07-14 17:50:16 -04:00
Dan Buch
06f64bd31d
Update docs and change log regarding go1.1 drop
2016-07-11 05:16:14 -04:00
John Weldon
91563b8ff0
Add JSON InputSource to altsrc package
...
- Implement NewJSONSource* functions for returning an InputSource from
various JSON data sources.
- Copy and modify YAML tests for the JSON InputSource
2016-07-02 12:58:15 -07:00
Dan Buch
df685fbacc
Remove NewApp
initializer
...
and move defaulting to `App.Setup`
2016-06-22 12:47:57 -04:00
Dan Buch
d63e456b33
Merge remote-tracking branch 'origin/v1' into merging-from-v1
2016-06-21 12:50:05 -04:00
Dan Buch
c20f912780
Add stronger warning about v2
volatility
...
and make **Notice** style more consistent
2016-06-20 10:57:45 -04:00
Dan Buch
dc55e12942
Pull the full API example up a level
2016-06-17 10:01:34 -04:00
Dan Buch
9e21e0e342
Fix up the full API example in the README
2016-06-17 10:00:12 -04:00
Dan Buch
6c628a1a88
Merge remote-tracking branch 'origin/v1' into merging-from-v1
2016-06-17 09:11:36 -04:00
81892f3f5f
Merge branch 'master' into readme-toc
2016-06-16 15:30:52 -04:00
Dan Buch
ee69d3c011
Generate TOC in README
...
and assert it is up to date
2016-06-16 11:47:19 -04:00
Dan Buch
a0e694ed72
Add UintFlag, Uint64Flag types and supporting code
2016-06-16 11:13:32 -04:00
Dan Buch
8ea4b523d2
Style cleanups of full API example in README
2016-06-10 13:00:33 -04:00
Dan Buch
d5abb165ee
Merge remote-tracking branch 'origin/master' into merging-from-v1
2016-06-10 12:55:41 -04:00
Dan Buch
288b636ba3
Modifying full API example for more migrator exercise
2016-06-01 22:27:52 -04:00
Dan Buch
b5c48311fa
Ensure the full API example really runs
2016-06-01 14:06:51 -04:00
Dan Buch
1c81757e1f
Add more v1 API examples
2016-06-01 13:28:27 -04:00
8ce0f0c9e3
Merge branch 'v2' into migrators
2016-06-01 11:34:07 -04:00
Dan Buch
cb1e4c2d5e
Merge remote-tracking branch 'origin/v1' into v2
2016-06-01 11:18:40 -04:00
Dan Buch
0990e4b2ad
Update appveyor badge URL
...
to point to new team name
2016-06-01 10:46:39 -04:00
Dan Buch
41310fbe1b
Enable more examples as runnable in README
...
so that they can be verified by the migrator script over in the v2 branch.
2016-05-31 15:49:48 -04:00
Dan Buch
3914ca9d5f
Update docs around migration script
...
and ensure ~/.local/bin is in PATH on OS X
2016-05-30 10:54:06 -04:00
c455f5c3ec
TRIVIAL formally -> formerly
2016-05-27 14:48:19 -04:00
Dan Buch
ed8f4ac408
Fix example that uses ExitCoder
2016-05-25 12:07:49 -04:00
403d147e41
Merge branch 'v2' into minimize-struct-copying
2016-05-24 10:31:42 -04:00
Dan Buch
5700dc5a80
Merge remote-tracking branch 'origin/master' into v2
2016-05-23 22:09:32 -04:00
Dan Buch
e4666418bb
Add (and backfill) some notes about platform support
2016-05-23 20:34:33 -04:00
59cdedb334
Merge branch 'v2' into minimize-struct-copying
2016-05-23 19:55:08 -04:00
Dan Buch
2f3309c789
Merge remote-tracking branch 'origin/master' into v2
2016-05-23 19:49:39 -04:00
Dan Buch
9b16216c07
Merge remote-tracking branch 'origin/v2' into minimize-struct-copying
2016-05-23 19:37:17 -04:00
97e55662b1
Add Windows (appveyor) badge
2016-05-22 18:52:21 -04:00
Dan Buch
6d6f7da978
Merging from master/v1
2016-05-22 18:30:07 -04:00
Jesse Szwedko
024b4c6240
Update references to codegangsta to urfave (new org name)
...
Also add notice to README
2016-05-22 14:42:23 -07:00
Dan Buch
cd10b49473
Minimize struct copying
...
by using pointer func receivers and slices of struct pointers where possible.
2016-05-22 15:20:52 -04:00
Dan Buch
81fcf706ea
Replace all "stringly typed" fields with slice equivalents
...
and alter the Flag interface accordingly
Closes #415
2016-05-21 21:29:45 -04:00
Jesse Szwedko
65357985c2
Merge remote-tracking branch 'origin/master' into v2
2016-05-21 12:43:58 -07:00
Dan Buch
00bd2a95b2
Do not test ./altsrc on go1.1
...
as the YAML library requires go1.2+
2016-05-21 08:53:01 -04:00
Dan Buch
f2d5ed9933
Replace BoolTFlag type with BoolFlag.Value
...
Closes #412
2016-05-18 08:20:15 -04:00
0eb4e0be6c
TRIVIAL removal of extra "current"
2016-05-17 03:33:51 -04:00
Dan Buch
61e5e9362f
Clarify state of v1
branch
2016-05-16 10:48:21 -04:00
Dan Buch
8af550936f
Add another bit about pinning to v1
2016-05-16 10:46:43 -04:00
Dan Buch
1beb5f66cd
Add some docs about the v2
branch
2016-05-16 10:43:05 -04:00
Jesse Szwedko
92897b9bf6
Updating coverage badges
2016-05-10 20:42:38 -07:00
Dan Buch
50b384d904
Separate badges for package coverage
2016-05-10 14:51:27 -04:00
Matt Farina
e9970b7b13
Adding Go Report Card badge
2016-05-06 12:24:51 -04:00
Dan Buch
11ad2b36c8
Assert output in some README examples
2016-05-04 19:41:33 -04:00
b14dcdb7b9
TRIVIAL the letter "a"
2016-05-02 21:20:23 -04:00
Dan Buch
5c36fa18d9
Change refs from cli.go
to cli
...
since the days of this being a single-file library are long gone.
2016-05-02 11:51:54 -04:00