Commit Graph

1571 Commits

Author SHA1 Message Date
Audrius Butkevicius
43bfe0068b
Merge pull request #840 from marwan-at-work/ctx
add context.Context to cli.Context
2019-08-06 21:09:20 +01:00
marwan-at-work
be6dbba47b rm modules 2019-08-06 14:21:13 -04:00
marwan-at-work
c8863d0b30 PR updates 2019-08-06 14:20:21 -04:00
marwan-at-work
2fb0dc188f ignore compile errors 2019-08-06 14:14:12 -04:00
marwan-at-work
98e64f4507 add propagation tests 2019-08-06 14:04:51 -04:00
marwan-at-work
1f7d1684b8 fix nil check 2019-08-06 13:57:00 -04:00
marwan-at-work
cee005ee62 only create context once 2019-08-06 12:55:29 -04:00
Ajitem Sahasrabuddhe
5070d00811
move packages slice to global scope 2019-08-06 12:33:33 +05:30
Audrius Butkevicius
93392d12e8
Merge pull request #808 from yogeshlonkar/master
Add support for flags bash completion
2019-08-06 07:59:53 +01:00
Ajitem Sahasrabuddhe
adfe6a09c1
indenting fix 2019-08-06 12:14:18 +05:30
marwan-at-work
006fad30ca fix go.mod 2019-08-05 15:03:26 -04:00
Yogesh Lonkar
1db049685a
Fix unused regex 2019-08-05 20:22:52 +02:00
Yogesh Lonkar
2be2bc755e
Add additional test for log flag completion and comments 2019-08-05 20:18:08 +02:00
marwan-at-work
820040ec28 add context.Context to cli.Context 2019-08-05 14:06:10 -04:00
Yogesh Lonkar
c3f51bed6f
Fix SC2199: Arrays implicitly concatenate in 2019-08-05 17:07:46 +02:00
Yogesh Lonkar
c5612e8cd2
Fix review comments 2019-08-05 16:58:04 +02:00
Robert Liebowitz
8d31c5e167
Update README.md
Co-Authored-By: Ajitem Sahasrabuddhe <ajitem.s@outlook.com>
2019-08-05 07:05:07 -04:00
Robert Liebowitz
03153b9cf8 Allow combining short flags globally 2019-08-05 06:38:23 -04:00
Yogesh Lonkar
d6523cf869
Merge branch 'master' into master 2019-08-05 11:00:26 +02:00
Lynn Cyrin (they/them)
26945c58ed
Merge pull request #823 from xordspar0/master
Make the exit code example more clear
2019-08-04 12:36:23 -07:00
Lynn Cyrin (they/them)
c25e4cab32
Merge branch 'master' into master 2019-08-04 12:30:28 -07:00
Ajitem Sahasrabuddhe
ac5c97b418
add latest assets file 2019-08-04 20:45:28 +05:30
Ajitem Sahasrabuddhe
489d92d2e2
add missing os package 2019-08-04 20:44:15 +05:30
Ajitem Sahasrabuddhe
a7f0d86509
add zero mod fs back and commit file with latest ts 2019-08-04 20:33:21 +05:30
Ajitem Sahasrabuddhe
798e1f3d3a
fix spacing issue 2019-08-04 20:29:53 +05:30
Ajitem Sahasrabuddhe
7a6f3d4394
fix tests 2019-08-04 20:23:32 +05:30
Ajitem Sahasrabuddhe
58ae5eb590
move entire build system to go 2019-08-04 20:06:44 +05:30
Ajitem Sahasrabuddhe
8547458f1d
remove zero mod fs 2019-08-04 19:01:47 +05:30
Ajitem Sahasrabuddhe
d09efb5fbd
Merge pull request #837 from urfave/codeowners
Use codeowners instead of maintainers
2019-08-04 18:00:11 +05:30
Ajitem Sahasrabuddhe
1327f58314
Merge branch 'master' into codeowners 2019-08-04 17:52:42 +05:30
Yogesh Lonkar
e949dc2cc0
Merge branch 'master' into master 2019-08-04 10:38:56 +02:00
Ajitem Sahasrabuddhe
4b0a410463
fix travis build 2019-08-04 12:26:48 +05:30
Ajitem Sahasrabuddhe
fb4cea5f30
add new generation logic to travis 2019-08-04 12:22:45 +05:30
Ajitem Sahasrabuddhe
365557021f
remove legacy version check code 2019-08-04 12:17:27 +05:30
Ajitem Sahasrabuddhe
b6bfbe97f8
update appveyor to go 1.11, add support for code coverage generation in tests 2019-08-04 12:16:07 +05:30
Ajitem Sahasrabuddhe
826954c979
update app name and remove version 2019-08-04 11:09:34 +05:30
Ajitem Sahasrabuddhe
04948f2152
generate test with go generate 2019-08-04 11:06:19 +05:30
Ajitem Sahasrabuddhe
86e10211de
remove redundant go generate from altsrc
update go generate in cli package to generate both files
regeneration test
2019-08-04 11:05:50 +05:30
Ajitem Sahasrabuddhe
c676ed4caa
indentation fixes in template
regeneration test
2019-08-04 11:04:23 +05:30
Ajitem Sahasrabuddhe
c4fc88e46d
Merge branch 'flag-type-generation-golang' of https://github.com/urfave/cli into flag-type-generation-golang 2019-08-04 10:29:34 +05:30
Ajitem Sahasrabuddhe
2a084945a4
move around code
change package to flag-gen to avoid conflict with flag-generator binary
test code generation
2019-08-04 10:28:08 +05:30
Ajitem Sahasrabuddhe
065fe9e9af
change structure to embed source json and template files
restructure code to have defaults in place of choices
2019-08-04 10:05:44 +05:30
Ajitem Sahasrabuddhe
d1ded77768
rename utility from fg > flag-generator 2019-08-04 08:45:29 +05:30
Ajitem Sahasrabuddhe
7745000a0e
Merge pull request #774 from whereswaldon/patch-1
Clarify that altsrc supports both TOML and JSON
2019-08-04 08:15:00 +05:30
Ajitem Sahasrabuddhe
81acbeb629
Merge branch 'master' into patch-1 2019-08-04 08:12:24 +05:30
Lynn Cyrin (they/them)
e6cf83ec39
Merge pull request #829 from urfave/lynncyrin-patch-2
Release 1.21.0
2019-08-03 19:37:52 -07:00
Ajitem Sahasrabuddhe
8abc5a2e49
Merge branch 'master' into patch-1 2019-08-04 08:04:13 +05:30
[[ BOT ]] Lynn Cyrin
9938dec695
update contributing docs 2019-08-03 10:26:07 -07:00
[[ BOT ]] Lynn Cyrin
97dbddb32d
use codeowners instead of maintainers 2019-08-03 10:23:29 -07:00
Ajitem Sahasrabuddhe
92608509a4
Merge branch 'master' into flag-type-generation-golang 2019-08-03 22:49:24 +05:30