Dan Buch
|
98218064c0
|
Straighten out robocopy exit code
|
2016-06-17 11:31:18 -04:00 |
|
Dan Buch
|
54df4b6c6d
|
Try a more fancy robocopy command
|
2016-06-17 11:20:49 -04:00 |
|
Dan Buch
|
c07b18df3a
|
Try out robocopy maybe?
|
2016-06-17 11:13:55 -04:00 |
|
Dan Buch
|
5b14460f4e
|
Use xcopy instead of mklink on Appveyor
|
2016-06-17 10:48:56 -04:00 |
|
Dan Buch
|
cafccda7b9
|
Install gfmxr after symlinking into gopkg.in/urfave/cli.v2
|
2016-06-17 10:42:44 -04:00 |
|
Dan Buch
|
3357fcd631
|
Try linking to gopkg.in/urfave/cli.v2 on Appveyor, too
|
2016-06-17 10:31:05 -04:00 |
|
Dan Buch
|
6e6a80c4d3
|
Try symlinking into gopkg.in/urfave/cli.v2 better
|
2016-06-17 10:19:23 -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
|
0c9b549918
|
Ensure remaining v1 additions are v2 compatible
|
2016-06-17 09:54:54 -04:00 |
|
Dan Buch
|
6c628a1a88
|
Merge remote-tracking branch 'origin/v1' into merging-from-v1
|
2016-06-17 09:11:36 -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
|
537f5beb66
|
Tweaks to Int64Flag PR
|
2016-06-16 10:14:28 -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
|
5a3515fdf8
|
Focus on catching fewer panics in HandleAction
so that "unknown" panics can still bubble up.
|
2016-06-09 17:32:00 -04:00 |
|
Dan Buch
|
d645386c59
|
Mention #448 fix in change log
|
2016-06-08 17:18:25 -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 |
|
Dan Buch
|
c413767d25
|
Fixing some flake8 gripes
|
2016-06-02 04:45:13 -04:00 |
|
Dan Buch
|
6dcb4fdfa4
|
Migrator script output tweaks, debug logging
|
2016-06-02 04:43:31 -04:00 |
|
Dan Buch
|
73acde8e69
|
Make migrators ordered, clean up some duplication
|
2016-06-02 04:37:36 -04:00 |
|
Dan Buch
|
288b636ba3
|
Modifying full API example for more migrator exercise
|
2016-06-01 22:27:52 -04:00 |
|
Dan Buch
|
92b70c22ac
|
Add more v1 -> v2 migrators
|
2016-06-01 19:11:05 -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 |
|
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
|
733431d5c2
|
Wrap a long line
|
2016-05-31 20:59:09 -04:00 |
|
Dan Buch
|
cbd0e8231b
|
Add migrator for stringly values of flag "Name"
and reorganize things a bit for less jumpy editing
|
2016-05-31 20:58:12 -04:00 |
|
Dan Buch
|
c9011d8351
|
Add migrators for context.Args() indexing and EnvVars
|
2016-05-31 16:39:56 -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
|
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 |
|
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 |
|
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 |
|
Dan Buch
|
8c89b2c442
|
Merge remote-tracking branch 'origin/master' into v2
|
2016-05-25 09:18:48 -04:00 |
|
Dan Buch
|
f2d92acb5d
|
Point at correct gfmxr location
|
2016-05-24 16:07:30 -04:00 |
|
Dan Buch
|
2b288769c7
|
Add comment about commaWhitespace stripping of flag.Name
|
2016-05-24 04:00:37 -04:00 |
|
Dan Buch
|
5700dc5a80
|
Merge remote-tracking branch 'origin/master' into v2
|
2016-05-23 22:09:32 -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 |
|
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 |
|
Dan Buch
|
2f3309c789
|
Merge remote-tracking branch 'origin/master' into v2
|
2016-05-23 19:49:39 -04:00 |
|
Dan Buch
|
377aca16cf
|
Trivial updates to appveyor config
|
2016-05-23 19:39:04 -04:00 |
|
Dan Buch
|
9b16216c07
|
Merge remote-tracking branch 'origin/v2' into minimize-struct-copying
|
2016-05-23 19:37:17 -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 |
|
Dan Buch
|
6d6f7da978
|
Merging from master/v1
|
2016-05-22 18:30:07 -04: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
|
334e66cb8f
|
Remove unused (so far) func
|
2016-05-22 10:59:42 -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 |
|
Dan Buch
|
fac67ac91a
|
Show BoolFlag default value in help usage
now that BoolTFlag is gone
|
2016-05-21 20:02:08 -04:00 |
|
Dan Buch
|
71b858d796
|
Skipping gfmxr on go1.1, too
|
2016-05-21 08:53:15 -04:00 |
|
Dan Buch
|
9132ebec9e
|
Customize install step for go1.1.2
|
2016-05-21 08:53:09 -04: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
|
9c132d990a
|
Add more tests for BoolFlag{Value: true}
|
2016-05-18 08:30:28 -04: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
|
7318e27528
|
Tidy up the flag name visitor func in Context
|
2016-05-17 03:46:16 -04:00 |
|
Dan Buch
|
7828300b97
|
Merge remote-tracking branch 'origin/v2' into remove-global-lookups
|
2016-05-17 03:35:08 -04:00 |
|
Dan Buch
|
6b0c4de4aa
|
Merge remote-tracking branch 'origin/master' into v2
|
2016-05-17 03:34:53 -04:00 |
|
Dan Buch
|
37e2f51a16
|
Merge remote-tracking branch 'origin/v2' into remove-global-lookups
|
2016-05-17 03:17:03 -04:00 |
|
Dan Buch
|
c720f37e15
|
Context tests and tweaks around lineage traversal
per feedback on #410
|
2016-05-17 03:16:26 -04:00 |
|
Dan Buch
|
cfc21d1af6
|
Merge remote-tracking branch 'origin/master' into v2
|
2016-05-16 11:04:15 -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 |
|
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
|
50b384d904
|
Separate badges for package coverage
|
2016-05-10 14:51:27 -04:00 |
|
Dan Buch
|
6f3bb94eae
|
Correct assertion text
|
2016-05-10 13:51:54 -04:00 |
|