Commit Graph

1739 Commits

Author SHA1 Message Date
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
e3a099f7c5
Cleanups per flake8 and code review 2016-05-30 15:24:16 -04:00
Dan Buch
659e1c1e0b
Fill in migrations for cli.Exit and BoolFlag with Value 2016-05-30 15:16:19 -04:00
1d13fa8140 Merge branch 'v2' into migrators 2016-05-30 14:00:32 -04:00
Dan Buch
2cfb957033
Run migration tests via ./runtests 2016-05-30 13:59:45 -04:00
Dan Buch
586b49ded8
Give up and use sudo on OS X again 2016-05-30 12:44:41 -04:00
Dan Buch
9158c1189d
Add dir with flake8 to path better-er 2016-05-30 12:40:13 -04:00
Dan Buch
b4db7c2b27
Do sudo-tastic system install os OS X 2016-05-30 12:34:33 -04:00
Dan Buch
27f4b751e4
Try a system pip install on OS X 2016-05-30 12:29:35 -04:00
Dan Buch
0ecae535a8
Where is flake8 on OS X? 2016-05-30 12:24:05 -04:00
Dan Buch
e5ba2f41c7
Ensure we're in the right dir before continuing 2016-05-30 11:09:37 -04:00
Dan Buch
5565a03705
Migrate and build extracted v1 examples 2016-05-30 11:02:49 -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
Dan Buch
462217f9fc
Allow zero+ paths in migration script
and run the self-tests on Windows, too.
2016-05-30 10:46:00 -04:00
Dan Buch
6d59b40b68
Skip flake8 bits on Windows
since pip isn't already there, installing it is a bit of a pain, and the results
*should* be the same on all platforms
2016-05-30 10:27:44 -04:00
Dan Buch
e9027a59ef
Do a user-level install with pip 2016-05-30 10:23:21 -04:00
Dan Buch
b47e152395
Handle migration of both files and dirs 2016-05-30 10:21:13 -04:00
Dan Buch
eadd3918f1
Correct some flake8 bits 2016-05-30 09:53:47 -04:00
Dan Buch
80190b203c
Rename migration script and add more migrators 2016-05-30 09:51:12 -04:00
Jesse Szwedko
dddab48818 Merge pull request #438 from urfave/show-bool-default
Show BoolFlag default value in help usage
2016-05-28 12:03:46 -07:00
3b03164c92 Merge branch 'v2' into show-bool-default 2016-05-28 04:49:10 -04:00
Jesse Szwedko
459201f506 Merge pull request #421 from urfave/minimize-struct-copying
Minimize copying while keeping things safe-ish
2016-05-27 20:00:23 -07: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
Dan Buch
d616529afc
Use make once instead of a loop with append 2016-05-27 14:38:51 -04:00
Dan Buch
ed8f4ac408
Fix example that uses ExitCoder 2016-05-25 12:07:49 -04:00
Dan Buch
3d75e9e711
Go with interfaces + private opaque types
rather than public types that wrap slices
2016-05-25 12:05:14 -04:00
Dan Buch
cd1e8c3452
Merge remote-tracking branch 'origin/v2' into minimize-struct-copying 2016-05-25 09:35:21 -04:00
9d93484b37 Merge pull request #435 from urfave/merging-from-v1
Merging from v1
2016-05-25 09:32:33 -04:00
Dan Buch
8c89b2c442
Merge remote-tracking branch 'origin/master' into v2 2016-05-25 09:18:48 -04:00
Jesse Szwedko
c11b8c9158 Merge pull request #431 from urfave/clean-stringlies
Ensure flag "Name" field values are un-stringly-fied
2016-05-24 23:22:09 -07: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
403d147e41 Merge branch 'v2' into minimize-struct-copying 2016-05-24 10:31:42 -04:00
Dan Buch
2b288769c7
Add comment about commaWhitespace stripping of flag.Name 2016-05-24 04:00:37 -04:00
42bdb31055 Merge branch 'v2' into clean-stringlies 2016-05-24 03:54:50 -04:00
Jesse Szwedko
92372c1743 Merge pull request #433 from urfave/merging-from-v1
Merging from v1
2016-05-23 21:08:57 -07:00
Dan Buch
5700dc5a80
Merge remote-tracking branch 'origin/master' into v2 2016-05-23 22:09:32 -04:00
c70993dbc5 Merge branch 'v2' into minimize-struct-copying 2016-05-23 22:08:59 -04:00
80f444e0f5 Merge branch 'v2' into clean-stringlies 2016-05-23 22:08:42 -04:00
bfd74c7b2b Merge pull request #432 from urfave/flag-alias-bug-430
Ensure all flag aliases are set when Destination given
2016-05-23 22:07:45 -04:00
Dan Buch
a41a43b00f
Switch to fmt.Fprintf for displaying usage error 2016-05-23 22:03:19 -04:00
Dan Buch
8f25dbb615
Ensure all flag aliases are set when Destination given
and extend "Incorrect Usage" message to show the error.

Closes #430
2016-05-23 22:00:59 -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
ec05a8d31b
Ensure flag "Name" field values are un-stringly-fied
to (hopefully) help with bug triage & pinpointing usage issues since ripping out
stringly typed "Name".
2016-05-23 20:55:03 -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
Dan Buch
61710ff108
Make slice wrapping pattern more consistent
and move *Args out into its own file
2016-05-23 20:15:35 -04:00
59cdedb334 Merge branch 'v2' into minimize-struct-copying 2016-05-23 19:55:08 -04:00