Commit Graph
100 Commits
Author SHA1 Message Date
Dan Buch fcaccb600b Run flake8 checks on generate-flag-types 2016-07-15 08:45:46 -04:00
Dan Buch f7b2b93ffa Merge remote-tracking branch 'origin/v1' into merging-from-v1 2016-07-14 17:50:16 -04:00
Dan Buch cbaa419c8f Generate all code when checking for changes 2016-07-14 16:02:57 -04:00
Dan Buch 8a7c9b1e68 Merge remote-tracking branch 'origin/master' into flag-context-gen 2016-07-12 13:15:25 -04:00
Dan Buch 8d976fe182 Get package choices from source of truth 2016-07-11 06:02:49 -04:00
Dan Buch c3b03b8437 Adding flag type generation for altsrc
and a mention of this whole thing in the change log
2016-07-11 06:02:49 -04:00
Dan Buch 06f64bd31d Update docs and change log regarding go1.1 drop 2016-07-11 05:16:14 -04:00
Dan Buch a73e54fe92 Merge remote-tracking branch 'origin/master' into drop-go1.1.2-testing 2016-07-11 05:11:11 -04:00
Dan Buch fa120b0c1d Drop testing of go1.1.2
since it's already a fairly diverged set of tests, and the fact that it passes
appears to be causing issues with overall CI build status, which is probably
some odd issue that surfaces because we're using `matrix.include`
2016-07-10 19:27:39 -04:00
Dan Buch 77f1130e65 Generate flag type lookup funcs 2016-07-10 12:50:57 -04:00
Dan Buch 3a8ad862a6 Add help text/docs for generate-flag-types script 2016-07-10 12:26:09 -04:00
Dan Buch 111ea8b9d3 Unbreak runtests toc target 2016-06-23 09:59:04 -04:00
Dan Buch ee0375e901 Nope, forget about toc on Windows 2016-06-23 09:42:33 -04:00
Dan Buch 1a9f445800 Try to run markdown-toc on Windows again (???) 2016-06-23 09:42:02 -04:00
Dan Buch 2455dd1f29 Skip go generate test on Windows 2016-06-23 01:09:21 -04:00
Dan Buch d1081fb23f Skip go generate check on older versions 2016-06-23 01:08:19 -04:00
Dan Buch 6185b8d8fd Generate code for flag types and context accessors 2016-06-23 00:56:44 -04:00
Dan Buch 99621d571e Merge remote-tracking branch 'origin/v2' into declarativeness 2016-06-22 23:07:20 -04:00
Dan Buch 796679fd8b Clean out urfave/cli.v2.a, wrap long line 2016-06-22 16:57:18 -04:00
Dan Buch 76d44cff06 Ensure gfmxr installs with cli.v2
and *then* make this repo shadow cli.v2
2016-06-22 12:55:38 -04:00
Dan Buch df685fbacc Remove NewApp initializer
and move defaulting to `App.Setup`
2016-06-22 12:47:57 -04:00
Dan Buch 0f135b318e Merge remote-tracking branch 'origin/v1' into merging-from-v1 2016-06-22 12:03:21 -04:00
Dan Buch 3c5afd4757 Hide help command for category tests 2016-06-22 09:48:39 -04:00
Dan Buch be875c395c Add test to verify help command usage 2016-06-22 09:41:42 -04:00
Dan Buch 5c7afce5b8 Add help command before category scan/sort 2016-06-22 09:34:24 -04:00
Dan Buch 5249491f24 Merge remote-tracking branch 'origin/v1' into merging-from-v1 2016-06-21 14:31:01 -04:00
Dan Buch e1de87aedd Update license text 2016-06-21 12:52:25 -04:00
Dan Buch d63e456b33 Merge remote-tracking branch 'origin/v1' into merging-from-v1 2016-06-21 12:50:05 -04:00
Dan Buch c20f912780 Add stronger warning about v2 volatility
and make **Notice** style more consistent
2016-06-20 10:57:45 -04:00
Dan Buch 77722a46e1 Explicitly run markdown-toc with bash on Windows 2016-06-18 16:46:41 -04:00
Dan Buch 8cfdccbf0f More tweaks to how ./runtests toc runs on Windows 2016-06-18 16:37:11 -04:00
Dan Buch d2596f4c86 Disable gfmxr debugging on Windows 2016-06-18 16:31:05 -04:00
Dan Buch 2569db1dc9 Where is npm bindir? 2016-06-18 16:29:33 -04:00
Dan Buch 21219e2b65 Flush stderr after every print 2016-06-18 16:28:50 -04:00
Dan Buch 0ef116788d Run npm install in cmd subshell on Windows 2016-06-18 16:24:46 -04:00
Dan Buch dec06d2837 Dynamically find path of markdown-toc executable 2016-06-18 16:20:29 -04:00
Dan Buch 8eaf6be8fa Trying to powershell better 2016-06-18 16:04:39 -04:00
Dan Buch c24cac3f93 Try to YAML betterer 2016-06-18 15:59:54 -04:00
Dan Buch 29dc3f0c7c More tweaks to npm usage on Windows 2016-06-18 15:59:00 -04:00
Dan Buch 11311185a0 Switch back to symlinking on Linux and Mac
and fix existence of markdown-toc on Windows
2016-06-18 15:47:23 -04:00
Dan Buch a8027b8491 Use git to make a copy into urfave/cli.v2 2016-06-18 15:20:35 -04:00
Dan Buch 7cb40bd576 Fighting more with cmd 2016-06-17 11:36:23 -04:00
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