dearchap
de83493182
Merge pull request #1499 from dearchap/issue_557
...
Fix help results inconsistency
2022-09-23 08:15:07 -04:00
Naveen Gogineni
4c9651575c
Approval for public API change
2022-09-21 18:28:31 -04:00
Wendell Sun
7570aace82
make v2approve
2022-09-16 00:42:24 +09:00
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`
2022-09-11 16:02:48 -04:00
27b456971b
Shift supported go versions
...
and approve word-wrapping changes to godoc
2022-08-14 10:31:53 -04:00
8d46d3794f
Approve v2 addition of timestamp/timezone/location
2022-07-10 12:16:59 -04:00
d7504f847b
Approve v2 addition of App.DefaultCommand
...
related to #1388
2022-06-24 07:55:49 -04:00
1362627dd7
Approve usage wrapping docs changes
2022-06-19 10:45:18 -04:00
3082652ad6
Update the v2 docs since merging #1409
2022-06-18 08:49:43 -04:00
9de0cd3c4a
Merge pull request #1396 from urfave/suggestion-pluggability
...
Introduce override hooks for suggestions
2022-05-22 11:14:46 -04:00
a78717f4f9
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support
2022-05-19 07:40:56 -04:00
5bb9f453dc
Also make the did-you-mean template pluggable
2022-05-17 09:24:17 -04:00
68bd4903fd
Introduce override hooks for suggestions
...
Related to https://github.com/urfave/cli/pull/1390#discussion_r871398659
2022-05-17 09:02:17 -04:00
63b1a7deee
A few follow-up conflict resolutions
2022-05-07 14:43:15 -04:00
21d435d4d1
Adapt flag generation for flag categories
2022-05-07 08:50:09 -04:00
f1834d176f
Update docs with corrected flag value
2022-05-04 23:12:27 -04:00
3288bec5be
Introduce a v2.x semver approval gate
2022-05-04 10:32:29 -04:00
e3aa8d3246
Add failing test for #1373
2022-04-25 20:16:01 -04:00
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
2022-01-03 22:46:55 -05:00
John Olheiser
12b7dfd08c
Remove extraneous line from generated markdown ( #1311 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-11-06 07:37:42 -04:00
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.
2021-07-06 20:20:47 -04:00
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
2021-05-20 21:04:51 -04:00
Erin Call
5bb54ace57
fish.go: support PathFlag.TakesFile [ #1156 ]
2020-06-22 17:24:44 -07:00
Sascha Grunert
5b3508d95e
Fix man page heading formatting
...
Closes #1040
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-01-15 08:51:07 +01:00
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>
2019-11-09 11:32:34 +01:00
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>
2019-08-30 08:56:11 +02:00
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>
2019-08-25 13:58:18 +02:00
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>
2019-08-09 08:58:06 +02:00
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