Commit Graph

1183 Commits

Author SHA1 Message Date
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
Ajitem Sahasrabuddhe
d209be3245
update go generate command
test file generation
2019-08-03 22:48:13 +05:30
Ajitem Sahasrabuddhe
add69c7d4f
updated flag types generated courtesy fg cli 2019-08-03 22:48:12 +05:30
Ajitem Sahasrabuddhe
c133a5aeb1
add explicit true/false choices for value and dest keys due to go default false for bool types 2019-08-03 22:48:12 +05:30
Ajitem Sahasrabuddhe
16c7a60528
finish generation of flag types for altsrc package
rename package to fg (flag generator)
2019-08-03 22:48:12 +05:30
Ajitem Sahasrabuddhe
32ddef5ca7
finish generation of flag types for cli package 2019-08-03 22:48:12 +05:30
mingrammer
9766be8d3e
get latest changes from master 2019-08-03 22:47:47 +05:30
mingrammer
e01e3c540c
Fix the unaligned indents for the commands that have no categories 2019-08-03 22:47:47 +05:30
Lynn Cyrin (they/them)
b1a7c502eb
Merge branch 'master' into master 2019-08-03 09:36:27 -07:00
Lynn Cyrin (they/them)
eee6ce83c0
Merge branch 'master' into lynncyrin-patch-2 2019-08-03 09:06:47 -07:00
Yogesh Lonkar
11c9e598b0
Merge branch 'master' into master 2019-08-03 15:52:08 +02:00
Ajitem Sahasrabuddhe
244eba7e4c
Merge pull request #831 from saschagrunert/go-modules
Add go module support
2019-08-03 18:04:31 +05:30
Audrius Butkevicius
b2421d1235
Merge branch 'master' into patch-1 2019-08-03 13:25:34 +01:00
Sascha Grunert
4627bbe109
Add go module support
This adds a go.{mod,sum} file to official support go modules.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2019-08-03 13:56:41 +02:00
Audrius Butkevicius
1169906f57
Merge pull request #773 from teresy/redundant-nil-check-slice
Remove redundant nil checks
2019-08-03 11:02:34 +01:00
Lynn Cyrin (they/them)
94f4f83672
Merge branch 'master' into redundant-nil-check-slice 2019-08-03 02:05:33 -07:00
Ajitem Sahasrabuddhe
07c1638969
Merge pull request #806 from mingrammer/fix-help-indentation
Fix the unaligned indents for the command help messages
2019-08-03 08:47:32 +05:30
Ajitem Sahasrabuddhe
7a51175ce1
Merge branch 'master' into fix-help-indentation 2019-08-03 08:37:34 +05:30
Ajitem Sahasrabuddhe
842e3fe1b6
Merge pull request #828 from urfave/lynncyrin-patch-1
Update maintainers for current reality
2019-08-03 08:12:05 +05:30
Lynn Cyrin (they/them)
8a7f65e052
Update CHANGELOG.md 2019-08-02 19:30:41 -07:00
Lynn Cyrin
e8eac43d9d
Update CHANGELOG.md 2019-08-02 18:26:41 -07:00
Lynn Cyrin
330a9143fb
Merge branch 'master' into fix-help-indentation 2019-08-02 18:14:50 -07:00
Lynn Cyrin
fa51d00dc6
Update maintainers for current reality 2019-08-02 18:06:15 -07:00
Yogesh Lonkar
01ab016427
Merge branch 'master' into master 2019-08-02 22:03:55 +02:00
Jordan Christiansen
c75a689f62 Make exit code example more clear
The purpose of this example is to show that you can exit with an error
code if a flag is unspecified, but with the code as it is, the only way
to cause a non-zero exit is by adding the flag `--ginger-crouton=false`,
which is not explained in the example.

In this new version of the example, running the command with no flag
will exit with an error, and running it with the flag will exit
normally.
2019-08-02 14:28:57 -05:00
Ajitem Sahasrabuddhe
7675649a17
Merge pull request #819 from lynncyrin/required-flags-take-2
Required flags
2019-08-02 22:52:32 +05:30
Ajitem Sahasrabuddhe
f8ba505a7c
Merge branch 'master' into required-flags-take-2 2019-08-02 22:49:29 +05:30
Ajitem Sahasrabuddhe
656063a846
Merge pull request #788 from benzvan/master
adds test coverage to context
2019-08-02 22:49:09 +05:30