GuangyuFan
63cb372cce
Feature: (issue_1451) customized slice flag separator ( #1546 )
...
* feat: customized slice flag separator
* feat: modify go doc
* feat: update unit test
2 years ago
Josh Soref
7732a512f9
Spelling ( #1543 )
...
* spelling: available
* spelling: explicitly
* spelling: feel
* spelling: github
* spelling: individual
* spelling: inputting
* spelling: occurring
* spelling: overriding
* spelling: propagated
* spelling: recursively
* spelling: reuse
* spelling: single
* spelling: value
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2 years ago
Naveen Gogineni
729a7c41ce
Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline
2 years ago
Naveen Gogineni
7a5db9223d
Docs: Fix docs from merged PR1498
2 years ago
Naveen Gogineni
5100c9d4e9
Update docs
2 years ago
Naveen Gogineni
59095aa762
make cmd.Run use varargs
2 years ago
Naveen Gogineni
adcce134f3
Rebase origin
2 years ago
Naveen Gogineni
00ef229486
Fix docs
2 years ago
Naveen Gogineni
e62a087117
Run make v2approve
2 years ago
dearchap
86809cef4b
Merge branch 'main' into issue_1505
2 years ago
Naveen Gogineni
a9c758e55f
Fix compile
2 years ago
Naveen Gogineni
05db729d66
Do make v2approve
2 years ago
Dan Buch
d4a5c397f4
Accept current godoc for v2
2 years ago
dearchap
de83493182
Merge pull request #1499 from dearchap/issue_557
...
Fix help results inconsistency
2 years ago
Naveen Gogineni
4c9651575c
Approval for public API change
2 years ago
Wendell Sun
7570aace82
make v2approve
2 years ago
Dan Buch
12a3c62e50
Move more functionality into internal/build/build.go
...
and use make targets in CI, pass flag spec YAML through yq
includes result of running `make v2approve`
2 years ago
Dan Buch
27b456971b
Shift supported go versions
...
and approve word-wrapping changes to godoc
2 years ago
Dan Buch
8d46d3794f
Approve v2 addition of timestamp/timezone/location
2 years ago
Dan Buch
d7504f847b
Approve v2 addition of App.DefaultCommand
...
related to #1388
2 years ago
Dan Buch
1362627dd7
Approve usage wrapping docs changes
2 years ago
Dan Buch
3082652ad6
Update the v2 docs since merging #1409
2 years ago
Dan Buch
9de0cd3c4a
Merge pull request #1396 from urfave/suggestion-pluggability
...
Introduce override hooks for suggestions
2 years ago
Dan Buch
a78717f4f9
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support
2 years ago
Dan Buch
5bb9f453dc
Also make the did-you-mean template pluggable
2 years ago
Dan Buch
68bd4903fd
Introduce override hooks for suggestions
...
Related to https://github.com/urfave/cli/pull/1390#discussion_r871398659
2 years ago
Dan Buch
63b1a7deee
A few follow-up conflict resolutions
2 years ago
Dan Buch
21d435d4d1
Adapt flag generation for flag categories
2 years ago
Dan Buch
f1834d176f
Update docs with corrected flag value
2 years ago
Dan Buch
3288bec5be
Introduce a v2.x semver approval gate
2 years ago
Dan Buch
e3aa8d3246
Add failing test for #1373
2 years ago
Anthony Fok
c2cf7ed6df
Bump github.com/cpuguy83/go-md2man/v2 to v2.0.1 ( #1321 )
...
Also fix test expectation for man contents: dash and underscore
are no longer escaped with backslash in go-md2man v2.0.1
See cpuguy83/go-md2man#74
2 years ago
John Olheiser
12b7dfd08c
Remove extraneous line from generated markdown ( #1311 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
3 years ago
Link Dupont
6373f5bf65
feat(docs): Include Description and UsageText in docs output ( #1287 )
...
Include Description as part of the DESCRIPTION section, and put UsageText (if it is non-zero) into the Usage subsection.
3 years ago
Derek Smith
581b769cf3
feat(docs): add UsageText to docs output for markdown and man page generation ( #1171 )
...
* feat(docs): add UsageText to docs output for markdown and man page generation
* feat(docs): updated tests, DRYd up code, cleaned up string logic
* fix(lint): fixed go1.15 lint errors
3 years ago
Erin Call
5bb54ace57
fish.go: support PathFlag.TakesFile [ #1156 ]
4 years ago
Sascha Grunert
5b3508d95e
Fix man page heading formatting
...
Closes #1040
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
4 years ago
Sascha Grunert
2cb62f5091
Improve docs generation for cli.Authors
...
This allows specifying multiple authors, whereas no available authors
will be formatted correctly now.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
5 years ago
Sascha Grunert
4bbff84169
Escape single quotes in fish shell completion
...
Single quotes can break the generated fish shell completion and should
be escaped correctly.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
5 years ago
Sascha Grunert
a1cf7f44b6
Add `TakesFile` to fish shell completion
...
The new `TakesFile` flag will be now consumed by the fish shell
completion generator.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
5 years ago
Sascha Grunert
7506b11da7
Add fish shell completion support
...
This commit adds a new method `ToFishCompletion` to the `*App` which can
be used to generate a fish completion string for the application.
Relates to: #351
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
5 years ago
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>
5 years ago