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
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
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
f2d5ed9933
Replace BoolTFlag type with BoolFlag.Value
...
Closes #412
2016-05-18 08:20:15 -04:00
Dan Buch
a02aab6b4b
Add note about removal of Context.Parent
2016-05-17 20:27:42 -04:00
Dan Buch
1925bb4e3b
Merge remote-tracking branch 'origin/v2' into remove-global-lookups
2016-05-17 20:26:30 -04:00
Dan Buch
c19dbaf230
Remove deprecated things and supporting code
2016-05-17 15:11:44 -04:00
Dan Buch
bef835d455
Remove all Context.Global* methods
...
and change the behavior of the non-Global variants to always search up the
context lineage.
Closes #385
2016-05-16 10:18:15 -04:00
Dan Buch
cab5c58774
Merge remote-tracking branch 'origin/master' into v2
2016-05-15 20:43:31 -04:00
Dan Buch
b9d96954ca
Fix command alias printing in help text
...
Closes #405
2016-05-10 13:41:43 -04:00
Dan Buch
33f5de5f18
Move the ./runtests
changelog entry to up Unreleased
2016-05-10 08:09:27 -04:00
Dan Buch
2b4b13096f
Merge remote-tracking branch 'origin/master' into coverage
2016-05-09 18:53:45 -04:00
Dan Buch
32ebecfbb5
Merge remote-tracking branch 'origin/master' into v2
2016-05-09 11:18:21 -04:00
Dan Buch
2fcbd9d729
Preparing for v1.17.0 release
2016-05-09 10:52:31 -04:00
Dan Buch
b9f33fbe6d
Add a vet/test runner script with coverage on by default
2016-05-09 08:41:01 -04:00
Dan Buch
bac790c819
Merge remote-tracking branch 'origin/master' into v2
2016-05-09 08:00:13 -04:00
Dan Buch
5a5fa990e1
Merge remote-tracking branch 'origin/master' into exit-nonzero-for-unknown-subcommand
2016-05-09 00:59:36 -04:00
Dan Buch
5704421e7b
Merge remote-tracking branch 'origin/master' into add-global-boolt
2016-05-09 00:44:27 -04:00
Jesse Szwedko
28eb7b2cc4
Added Hidden command support to CHANGELOG
2016-05-08 21:03:02 -07:00
Jesse Szwedko
592f1d97e5
Exit non-zero if a unknown subcommand is given
...
Currently it just prints the help message and exits 0.
We do this by modifying the helpCommand and helpSubcommand cli.Commands
to return an error if they are called with an unknown subcommand. This
propogates up to the app which exits with 3 and prints the error.
Thanks to @danslimmon for the initial approach!
Fixes #276
2016-05-07 17:26:15 -07:00
Jesse Szwedko
f585ec7cb8
Remove reordering of flags and arguments
...
This was introduced by #36 , but only worked in the specific case of all
arguments being passed before all flags. If the user mixed them, they
ended up with odd parsing behavior where the arguments were reordered
(causing #103 and #355 ).
Given the tradeoffs I think we should remove support for flag
reordering.
Fixes #103
Fixes #355
2016-05-07 16:36:54 -07:00
Jesse Szwedko
e3ace79a91
Add GlobalBoolT
...
Fixes #206
2016-05-07 16:11:26 -07:00
Dan Buch
a1e5328e30
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160
2016-05-03 05:25:07 -04:00
Dan Buch
7de151883c
Added more notes about usage formatting changes
2016-05-02 19:48:35 -04:00
Dan Buch
22773b14c1
Allow for pluggable flag-level help text formatting
...
by defining `cli.DefaultFlagStringFunc` with a default value that uses
`withEnvHint`, conditionally running a given flag's `FormatValueHelp` if
present.
Closes #257
2016-05-02 13:05:21 -04:00
Dan Buch
fe67cb0f3d
Add note about error handling fix, prep 1.16.0 section
2016-05-02 11:41:01 -04:00
Dan Buch
9584555150
Include details of hidden flag impl in CHANGELOG
2016-05-01 08:44:01 -04:00
Dan Buch
a9afed5b15
Prepping v1.15.0 release
2016-04-30 13:48:08 -04:00
Dan Buch
896d2fd3c1
Add a note to CHANGELOG about dot-delimited YAML key lookup
2016-04-30 13:27:11 -04:00
Dan Buch
1fb52b3bce
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160
2016-04-30 13:13:02 -04:00
Dan Buch
e059dc8188
Implement *Context.GlobalSet + relevant CHANGELOG entry
2016-04-30 11:46:47 -04:00
Dan Buch
e2161d7f64
Minor changelog update bits
2016-04-30 09:54:44 -04:00
Dan Buch
ee736e063a
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160
2016-04-28 16:53:45 -04:00
Dan Buch
6eb8c82596
Merge remote-tracking branch 'origin/master' into txgruppi-develop
2016-04-28 16:07:37 -04:00
Dan Buch
b9bbb35c5b
Add change to Fixed section of Unreleased in CHANGELOG
2016-04-28 13:04:52 -04:00
Dan Buch
47f6721fae
Update CHANGELOG and add a script to help with slice type migration
2016-04-28 12:35:56 -04:00
Dan Buch
7651aa05a6
TRIVIAL specify *return* signature in deprecation message
2016-04-28 11:09:33 -04:00
Dan Buch
c3a6370616
Moving remaining details from #361 description to CHANGELOG.md
2016-04-28 11:07:53 -04:00
Dan Buch
271b56c71b
Cleanups based on feedback in #361
2016-04-28 10:15:04 -04:00
Jesse Szwedko
4733699ce3
Update changelog with placeholder support
2016-04-25 19:47:42 -07:00
Dan Buch
95d18920ad
Linkify release headings
2016-04-25 15:58:30 -04:00
Dan Buch
ed0056d1c1
Add CHANGELOG.md
with backfilled releases
2016-04-25 15:48:21 -04:00