Commit Graph

1053 Commits

Author SHA1 Message Date
Dan Buch a51cb870fb Wrap a long line for flake8 2016-07-15 21:49:55 -04:00
Dan Buch fcaccb600b Run flake8 checks on generate-flag-types 2016-07-15 08:45:46 -04:00
Jesse Szwedko 40a9813f6f Merge pull request #483 from urfave/merging-from-v1
Merging from v1
2016-07-14 19:22:57 -07:00
Dan Buch f7b2b93ffa Merge remote-tracking branch 'origin/v1' into merging-from-v1 2016-07-14 17:50:16 -04:00
meatballhat ec402ecec5 Merge pull request #482 from urfave/runtests-gen-all
Generate all code when checking for changes
2016-07-14 17:11:45 -04:00
Dan Buch cbaa419c8f Generate all code when checking for changes 2016-07-14 16:02:57 -04:00
meatballhat f4ee034378 Merge pull request #481 from urfave/fix-subcommand-help-flag
Correctly show help message if `-h` is provided to subcommand
2016-07-14 16:00:57 -04:00
Jesse Szwedko 65da20beab Correctly show help message if -h is provided to subcommand
Currently, if an action is specified on a subcommand, it ignores the
`-h` and `--help` flags if passed to the subcommand, e.g.:

`foo bar -h`

would call the default action on `bar` rather than show the help
documentation.

Fixes #477
2016-07-13 14:48:16 -07:00
Jesse Szwedko 73aa67b7a2 Merge pull request #466 from urfave/flag-context-gen
Generate code for flag types and context accessors
2016-07-13 14:07:04 -07:00
Dan Buch 8a7c9b1e68 Merge remote-tracking branch 'origin/master' into flag-context-gen 2016-07-12 13:15:25 -04:00
meatballhat 3a5216227e Merge pull request #479 from urfave/drop-go1.1.2-testing
Drop testing of go1.1.2
2016-07-12 13:14:36 -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
meatballhat 1f769cfe01 Merge branch 'master' into flag-context-gen 2016-07-11 05:17:07 -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
meatballhat 166bb4fa62 Merge pull request #480 from TimeIncOSS/f-metadata
app: Allocate Metadata map automatically
2016-07-11 03:37:11 -04:00
Radek Simko bef215fe3e app: Allocate Metadata map automatically 2016-07-11 07:39:58 +01: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
Jesse Szwedko 2b959bd891 Merge pull request #470 from johnweldon/PTAL-v2-implement-JSON-InputSource
Add JSON InputSource to altsrc package
2016-07-04 20:00:39 -07:00
John Weldon 271001a937 Merge branch 'v2' into PTAL-v2-implement-JSON-InputSource 2016-07-02 21:45:23 -07:00
Jesse Szwedko 3c9856d0fd Add Float64SliceFlag to the CHANGELOG 2016-07-02 21:44:48 -07:00
Jesse Szwedko c99ea0b14b Merge pull request #468 from bfreis/v2
adding support for Float64SliceFlag
2016-07-02 21:29:10 -07:00
John Weldon 91563b8ff0 Add JSON InputSource to altsrc package
- Implement NewJSONSource* functions for returning an InputSource from
   various JSON data sources.
 - Copy and modify YAML tests for the JSON InputSource
2016-07-02 12:58:15 -07:00
Bruno França dos Reis 028af4bc35 adding support for Float64SliceFlag 2016-06-28 19:52:25 -07:00
meatballhat 0d01711bcf Merge branch 'master' into flag-context-gen 2016-06-28 14:50:20 -04:00
Jesse Szwedko 1efa31f08b Release v1.18.0 2016-06-27 22:30:56 -07:00
Jesse Szwedko 2ec9cfb7f9 Add missing fixes to CHANGELOG.md 2016-06-27 22:28:27 -07:00
Jesse Szwedko ee464a6db7 Merge pull request #465 from urfave/declarativeness
Remove `NewApp` initializer
2016-06-25 11:08:53 -05: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
meatballhat ef7fea16bc Merge pull request #464 from urfave/merging-from-v1
Merging from v1
2016-06-22 23:04:43 -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
Jesse Szwedko 4205e9c4ee Merge pull request #463 from urfave/help-command-categorization
Help command categorization
2016-06-22 09:55:33 -05: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
meatballhat b5f16ff767 Merge pull request #461 from urfave/merging-from-v1
Merging from v1
2016-06-22 08:41:05 -04:00
Dan Buch 5249491f24 Merge remote-tracking branch 'origin/v1' into merging-from-v1 2016-06-21 14:31:01 -04:00
meatballhat 45677612ec Merge pull request #462 from urfave/license-update
Update license text
2016-06-21 14:30:11 -04:00