Commit Graph

722 Commits

Author SHA1 Message Date
Dan Buch
a0e694ed72
Add UintFlag, Uint64Flag types and supporting code 2016-06-16 11:13:32 -04:00
b7750a08e7 Merge pull request #455 from urfave/bfreis-master
Merging #454
2016-06-16 10:30:46 -04:00
Dan Buch
537f5beb66
Tweaks to Int64Flag PR 2016-06-16 10:14:28 -04:00
Bruno França dos Reis
5c7cca7f16 Adding Int64Slice related stuff in flag.go and context.go, and related tests 2016-06-11 21:54:33 -07:00
Bruno França dos Reis
80d3d863d9 Adding Int64 and GlobalInt64 in context, plus related tests 2016-06-11 15:41:24 -07:00
Bruno França dos Reis
4962423cba Adding Int64Flag type and related tests 2016-06-11 15:22:07 -07:00
e5bef42c62 Merge pull request #452 from urfave/handle-action-undiaper
Focus on catching fewer panics in HandleAction
2016-06-10 11:00:26 -04:00
Dan Buch
5a3515fdf8
Focus on catching fewer panics in HandleAction
so that "unknown" panics can still bubble up.
2016-06-09 17:32:00 -04:00
Jesse Szwedko
7817f72540 Merge pull request #450 from urfave/flag-value-changelog-mention
Mention #448 fix in change log
2016-06-08 19:50:24 -07:00
Dan Buch
d645386c59
Mention #448 fix in change log 2016-06-08 17:18:25 -04:00
fa949b48f3 Merge pull request #448 from urfave/merging-joshuarubin-master
Merging joshuarubin master
2016-06-08 11:15:11 -04:00
Dan Buch
7cd5bed6cb
Backporting flagValue func from v2 branch 2016-06-08 10:34:44 -04:00
Dan Buch
86e4f9526d
Merge branch 'master' of https://github.com/joshuarubin/cli into joshuarubin-master 2016-06-08 10:31:40 -04:00
8b2531778f Merge pull request #446 from jamescun/master
Fix ActionFunc signature of ShowAppHelp action
2016-06-08 10:31:04 -04:00
Joshua Rubin
f621deee5a
fix panic getting visible flags 2016-06-08 04:27:57 -06:00
James Cunningham
e97f74a570
fix ActionFunc signature of ShowAppHelp action 2016-06-07 16:28:10 +01:00
edb24d02aa Merge pull request #445 from tianon/spaces-changelog
Add note about #441 (replace tabs with spaces for alignment) in CHANGELOG.md
2016-06-02 04:47:49 -04:00
Tianon Gravi
dedc6e1474 Add note about #441 (replace tabs with spaces for alignment) in CHANGELOG.md 2016-06-01 20:11:31 -07:00
Jesse Szwedko
01a3382359 Merge pull request #444 from urfave/more-v1-examples
Add more v1 API examples
2016-06-01 20:01:28 -07:00
Dan Buch
288b636ba3
Modifying full API example for more migrator exercise 2016-06-01 22:27:52 -04:00
67c661770a Merge branch 'master' into more-v1-examples 2016-06-01 18:52:25 -04:00
41d262f932 Merge pull request #441 from tianon/spaces-for-alignment
Switch "printHelp" tabwriter padchar to space
2016-06-01 18:43:28 -04:00
Tianon Gravi
a121e978f7 Switch "printHelp" tabwriter padchar to space
Using tabs for alignment is troubling if the output is used for anything besides display in a terminal (or if the user's terminal allows for adjustment of the default tab size), as noted by the documentation for `tabwriter` (https://golang.org/pkg/text/tabwriter/#Writer.Init):

> (for correct-looking results, tabwidth must correspond to the tab width in the viewer displaying the result)

The safer solution is to use `' '` as the `padchar`, which only carries the assumption of a fixed-width font (which is a more reasonable assumption than a fixed, constant tab size).
2016-06-01 15:27:03 -07: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
1433f8165e Merge pull request #442 from urfave/appveyor-badge
Update appveyor badge URL
2016-06-01 11:00:42 -04:00
Dan Buch
0990e4b2ad
Update appveyor badge URL
to point to new team name
2016-06-01 10:46:39 -04:00
ddb6f44179 Merge pull request #440 from urfave/more-v1-examples
Enable more examples as runnable in README
2016-06-01 09:49:21 -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
9a18ffad6c Merge pull request #437 from urfave/formarlly
TRIVIAL formally -> formerly
2016-05-27 14:54:26 -04:00
c455f5c3ec TRIVIAL formally -> formerly 2016-05-27 14:48:19 -04:00
595ba45e73 Merge pull request #434 from urfave/update-gfmxr-ref
Point at correct gfmxr location
2016-05-24 16:27:12 -04:00
Dan Buch
f2d92acb5d
Point at correct gfmxr location 2016-05-24 16:07:30 -04:00
1ce6660d5d Merge pull request #429 from urfave/travis-osx
Test latest go version on OS X
2016-05-23 20:56:50 -04:00
Dan Buch
e4666418bb
Add (and backfill) some notes about platform support 2016-05-23 20:34:33 -04:00
Dan Buch
f136df348e
Only test latest go on osx 2016-05-23 20:21:14 -04:00
Dan Buch
dcc28a1b2b
Enable osx testing 2016-05-23 20:19:54 -04:00
edb48195de Merge pull request #425 from urfave/appveyor-badge
Brush off Windows support
2016-05-23 19:45:33 -04:00
Dan Buch
377aca16cf
Trivial updates to appveyor config 2016-05-23 19:39:04 -04:00
Dan Buch
b37df9de86
See why README examples are unhappy on Windows 2016-05-22 20:35:25 -04:00
Dan Buch
4566119b39
Close temporary file before running go tool cover 2016-05-22 19:44:21 -04:00
Dan Buch
9491a91336
Try to run a python script 2016-05-22 19:37:59 -04:00
Dan Buch
d277cbf893
Use clone_folder in appveyor.yml
instead of dir moving shenanigans
2016-05-22 19:32:48 -04:00
Dan Buch
531c7defe7
Trying xcopy instead of move 2016-05-22 19:18:38 -04:00
Dan Buch
288d62118a
Try to get appveyor.yml working again 2016-05-22 19:15:05 -04:00
97e55662b1 Add Windows (appveyor) badge 2016-05-22 18:52:21 -04:00
Jesse Szwedko
2ae9042f5b Merge pull request #422 from urfave/update-references-to-codegangsta
Update references to codegangsta to urfave (new org name)
2016-05-22 14:46:02 -07: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
Jesse Szwedko
bebbcf6d41 Merge pull request #417 from codegangsta/trim-go1.1-support
Trim go1.1 support
2016-05-21 11:46:57 -07:00
Dan Buch
71b858d796
Skipping gfmxr on go1.1, too 2016-05-21 08:53:15 -04:00