Ajitem Sahasrabuddhe
fdba7e0f8c
linter fixes
...
code cleanup
changing some test code to ensure uniformity
2019-08-07 20:14:50 +05:30
Sascha Grunert
40d4a25a01
Add markdown and man page docs generation methods
...
This adds two new methods to the `App` struct:
- `ToMarkdown`: creates a markdown documentation string
- `ToMan`: creates a man page string
Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2019-08-07 14:02:28 +02:00
Audrius Butkevicius
521735b760
Merge pull request #844 from urfave/asahasrabuddhe-patch-1
...
Update README.md
2019-08-07 12:10:34 +01:00
Ajitem Sahasrabuddhe
22e1fc8419
Update README.md
...
add codecov.io badge
2019-08-07 14:02:52 +05:30
Ajitem Sahasrabuddhe
97179ca390
Merge pull request #843 from lafriks/patch-1
...
Support GoLang 1.10 to 1.12
2019-08-07 13:58:51 +05:30
Lauris BH
3a41d6d785
Lower support to GoLang compiler version 1.10
2019-08-07 11:21:31 +03:00
Ajitem Sahasrabuddhe
1f4473209d
Update .travis.yml
...
support go versions in line with go's release policy
2019-08-07 13:50:04 +05:30
Lauris BH
e3fa7e8566
Support also GoLang 1.11 compiler
2019-08-07 11:06:15 +03:00
Ajitem Sahasrabuddhe
b6f7dd9359
Merge pull request #836 from urfave/flag-type-generation-golang
...
Flag Generation in the CLI
2019-08-07 13:28:34 +05:30
Ajitem Sahasrabuddhe
e2de8c7458
update readme with correct error message, add 1.12 and 1.11 to travis
2019-08-07 12:38:17 +05:30
Robert Liebowitz
a77c440b84
Merge branch 'master' into combined
2019-08-06 22:33:49 -04:00
Ajitem Sahasrabuddhe
24de27b05e
Merge branch 'master' into flag-type-generation-golang
2019-08-07 01:54:44 +05:30
Ajitem Sahasrabuddhe
c19938fbbf
update ci commands
2019-08-07 01:51:02 +05:30
Ajitem Sahasrabuddhe
6ee5b89e03
move build.go to root
2019-08-07 01:50:50 +05:30
Ajitem Sahasrabuddhe
e8bbb4c3b5
remove unnecessary sprintf
2019-08-07 01:46:22 +05:30
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
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
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