Commit Graph

1769 Commits

Author SHA1 Message Date
Jesse Szwedko
7f4b273a05
Merge pull request #676 from rliebz/lexicographic-sort
Consider case when sorting strings
2017-10-30 19:55:34 -07:00
Robert Liebowitz
b44660ac3d Consider case when sorting strings
This makes sorting flags and other sections consistent with how most
command line tools function, by placing both flags `-A` and `-a` before
a flag `-B`.
2017-10-28 03:00:11 -04:00
Jesse Szwedko
7bc6a0acff Merge pull request #628 from phinnaeus/master
Allow custom ExitError handler function
2017-10-14 13:27:26 -07:00
Tyler Davis
40263f4d6a Merge branch 'master' into master 2017-10-13 12:05:14 -07:00
Jesse Szwedko
2997500ba5 Merge pull request #672 from sierraechobravo/master
fix go report card issues
2017-10-07 13:56:23 -07:00
Sebastian Sprenger
c202606a17 fix golint issues 2017-10-06 07:29:13 +02:00
Sebastian Sprenger
c3cc74dac7 fix ineffective assigns 2017-10-06 07:28:43 +02:00
Sebastian Sprenger
67ee172e6d fix misspelling issue 2017-10-06 07:28:18 +02:00
Jesse Szwedko
b2bf3c5abe Merge pull request #670 from VMitov/path_flag
Add PathFlag
2017-09-28 15:42:40 -07:00
Vladislav Mitov
0b665e6170 Add PathFlag 2017-09-29 00:07:20 +03:00
Jesse Szwedko
ac249472b7 Merge pull request #661 from rliebz/custom-flag-help
Allow customization of prefixes and environment variable hints in flag help strings
2017-09-25 20:41:18 -07:00
Tyler Davis
7233c502e3 Merge branch 'master' into master 2017-09-22 10:08:36 -07:00
Robert Liebowitz
cbbe4c1a2c Add tests for custom flag prefix/env hints 2017-09-18 00:44:42 -04:00
rliebz
11d45572f9 Export funcs to configure flag prefix/env hints
This will allow users to customize the prefix section or env hint
section of the flag entries in the help menu without having to
reimplement the rest of the logic required in defining FlagStringer.
2017-09-18 00:00:27 -04:00
Jesse Szwedko
7fb9c86b14 Merge pull request #664 from maguro/master
Add newline before command categories
2017-09-10 21:08:19 -07:00
Alan D. Cabrera
1d334f10ce Add newline before command categories
The simple formatting change adds a nice blank line before each command
category.  Documentation in README.md is also updated to be more
accurate.
2017-09-08 10:43:30 -07:00
OneOfOne
b7ab5b0c48
don't add -- prefix if we manually specify one 2017-08-31 00:26:52 +02:00
OneOfOne
163f247519
lint + DefaultCommand 2017-08-29 17:26:30 +02:00
50a0fdeea6 Merge pull request #655 from urfave/merging-from-v1
Merging from v1
2017-08-14 09:43:17 -04:00
Dan Buch
2da290b872
Ensure indentation is consistent in example code
plus remove usage of ancient builtin `println` 🙀
2017-08-14 09:33:47 -04:00
5dc55f2287 Merge branch 'master' into master 2017-08-13 12:42:49 -04:00
f017f86fcc Merge pull request #659 from urfave/define-flag-precedence
Define flag source precedence in README
2017-08-13 10:59:49 -04:00
44c648739b Merge branch 'master' into define-flag-precedence 2017-08-13 10:54:04 -04:00
Dan Buch
3164173947
Switch some remaining encoding-related bits in test runner 2017-08-12 22:24:14 -04:00
Dan Buch
463d4bada6
Explicitly set mode to 'w' when combining coverprofiles 2017-08-12 22:21:53 -04:00
Dan Buch
d83210ca77
Attempt to better handle python(2|3) tempfile differences 2017-08-12 22:20:50 -04:00
Dan Buch
1505b9f046
Back out temporary flag alias whoopsie! 😅 2017-08-12 22:11:32 -04:00
Dan Buch
744fdb45b5
Resolve conflict in completion flag check better 2017-08-12 22:07:03 -04:00
Dan Buch
65b801c818
Resolve remaining test errors for v1 => v2 merge 2017-08-12 22:02:54 -04:00
Jesse Szwedko
cfb3883072 Prepare CHANGELOG for v1.20.0 release 2017-08-10 18:42:03 -07:00
Jesse Szwedko
f5513590f5 Merge branch 'master' into backport-json-support 2017-08-10 18:06:12 -07:00
Jesse Szwedko
e1fa109a31 Define flag source precedence in README
Fixes #646
2017-08-10 17:54:24 -07:00
Dan Buch
ce3a0da1a3
Ensure migrator does not mangle cli.CommandsByName 2017-08-08 21:21:31 -04:00
Dan Buch
a372849da6
Use []*Command instead of []Command in CommandsByName 2017-08-04 13:23:06 -04:00
Dan Buch
df5c6caa96
Back out the testify/assert addition 😅 2017-08-04 12:43:16 -04:00
Dan Buch
47a412375f
Resolved compile-time errors since merging from v1 2017-08-04 12:00:22 -04:00
Dan Buch
a61867e5e6
Merge remote-tracking branch 'origin/v1' into merging-from-v1 2017-08-04 11:59:27 -04:00
Jesse Szwedko
c717f7a215 Merge pull request #653 from urfave/master
Merging master into v1
2017-08-04 02:39:37 -07:00
Jesse Szwedko
b99aa811b4 Merge pull request #654 from urfave/appveyor-updates
Update os, image, golang, and python versions used in appveyor
2017-08-04 02:34:15 -07:00
Dan Buch
f59114b410
Update os, image, golang, and python versions used in appveyor 2017-08-03 22:59:38 -04:00
2903b76a12 Merge branch 'v1' into master 2017-08-03 17:58:28 -04:00
9128fe1c38 Merge pull request #652 from urfave/travis-tweaks
Update travis config
2017-08-03 17:57:53 -04:00
Dan Buch
184ffb5e57
Use os matrix instead of explicit matrix.include 2017-08-03 15:38:19 -04:00
Dan Buch
8164aa88ca
Update travis config
to only test on 1.8.x, and ensure we route to Ubuntu Trusty and a
recent macOS image.
2017-08-03 15:07:56 -04:00
688c5a9d4f Merge branch 'master' into merging-jereksel-zsh 2017-08-03 14:38:20 -04:00
Tyler Davis
10e81bacd1 Merge branch 'master' into master 2017-07-20 12:44:56 -07:00
Jesse Szwedko
4b90d79a68 Merge pull request #643 from nikkolasg/patch-1
[example] Make the basic example build-able.
2017-07-06 12:46:25 -07:00
Nicolas Gailly
a6dd54e94b make the basic example build-able. 2017-07-06 16:20:09 +02:00
Tyler Davis
5d528e2052 use exit errors in uts 2017-06-28 13:04:09 -07:00
Tyler Davis
58450552ee Add Test 2017-06-28 12:52:50 -07:00