Commit Graph

75 Commits

Author SHA1 Message Date
Hayden
8036eac8dc
add tags and boost for pages 2022-10-02 10:36:43 -04:00
Hayden
edaf885773
breakup v2 documentation 2022-10-02 10:36:14 -04:00
Balazs Nagy
1335a7022a accept timezone for timestamps 2022-07-09 13:52:55 +02:00
6dd82af86b
Fix list formatting in v2 manual 2022-06-22 08:29:12 -04:00
58ccb0bf28
Clean up the v2 manual a bit
includes:
- running each example through `goimports`
- wrapping text at ~80 cols
- consistently using `&cli.App{...}`
- consistently using code example gates
- removing trailing blankspace
2022-06-20 17:08:10 -04:00
8f47e6dc97
Set absolute bash path
and slightly revert assertion in docs test to ensure flag ordering
2022-05-23 07:44:58 -04:00
5edc1b95e8
Run docs tests against current work tree
by creating a temporary go workspace to be used by gfmrun via `TMPDIR`.
2022-05-22 22:18:00 -04:00
e66017d73a
Refinements to removal of zsh hack 2022-05-22 09:07:03 -04:00
e66ce91db1
Merge remote-tracking branch 'origin/main' into applying-pr1218 2022-05-22 08:53:47 -04:00
3c923e7a44
Merge remote-tracking branch 'origin/main' into saschagrunert-suggestions 2022-05-17 08:45:13 -04:00
8da1afc62b
Un-rename manual docs + symlink instead 2022-05-08 11:38:41 -04:00
858ce7ee6d
Initial mkdocs setup
Connected to #1343
2022-05-08 11:36:03 -04:00
3d67b75be7
Merge branch 'suggestions' of ssh://github.com/saschagrunert/cli into saschagrunert-suggestions 2022-05-07 14:40:04 -04:00
56837b07d3
Merge remote-tracking branch 'origin/main' into applying-pr1218 2022-04-30 14:15:48 -04:00
5c6ccfb097
Add missing "fmt" import in example 2022-04-20 14:45:04 -04:00
4b238b8ff0
Merge branch 'master' into suggestions 2022-04-19 16:45:20 -04:00
Ihor Urazov
1150c2e180
Properly detect Zsh shell
There is no need to define custom shell var, when Zsh can be detected by
checking SHELL env var.
2022-04-19 16:25:16 -04:00
JayCeeJr
1259f1efc9
Unnecessary words (#1304)
It is unclear what `as the default` means.

Much more concise to remove it.
2021-09-15 23:16:31 -04:00
Robert Liebowitz
498b50b3e1
Merge pull request #1214 from anicoll/flag_lineage_fix
fix for parent context not setting child flags
2021-01-28 23:16:40 -05:00
Travis Lane
1f380b0733
fix: Fixup runnable example input arguments
This command has no name, so drop the `test-cmd` in `args`.
2021-01-24 20:54:48 -05:00
Andrew Nicoll
a27ce0e881 unable to see whats happening here with lack of debug but this seems to resolve the failing doc test 2020-12-09 11:48:33 +00:00
Benjamin Kane
7c756af2b4
Add link to pkg.go.dev docs 2020-11-27 21:30:44 -08:00
Robert Liebowitz
3629eb8550
Merge pull request #1139 from kirinnee/master
Added manual and script for PowerShell autocomplete
2020-10-31 11:56:33 -04:00
Alberts Zemzale
d273947592 Remove incorrect bracket in v2 docs example 2020-08-23 13:35:59 +03:00
Alberts Zemzale
bed468fb76 Fix v1 aliases syntax in v2 docs 2020-08-13 19:15:35 +03:00
Saulius Gurklys
dff8accf57
Fix typo
Fixed small typo.
2020-07-01 23:20:25 +03:00
Tiago Matias
5b263d0ace
fix link to docs on v2 manual
was pointing to v1 docs
2020-06-15 12:04:06 -03:00
kirinnee
9523a3481b
Updated Docs Header in table of content for PowerShell support 2020-06-08 10:54:27 +08:00
kirinnee
b236763df5
Added manual and script for PowerShell autocomplete 2020-05-18 11:19:00 +08:00
Tom Limoncelli
2f5b961b06 Link to migration guide 2020-04-04 06:13:16 -04:00
Tom Limoncelli
9fd9cd1117 Link to migration guide 2020-04-04 06:09:14 -04:00
Tom Limoncelli
200fa41ab3 Revert v2/manual.md 2020-03-31 18:59:44 -04:00
Tom Limoncelli
84c98fac3e Move migration to a separate file.Move migration to a separate file 2020-03-31 18:54:05 -04:00
Tom Limoncelli
dc7ae10a15 fixup! 2020-03-30 10:57:50 -04:00
Tom Limoncelli
caa97b585e Fix TOC 2020-03-29 11:29:34 -04:00
Tom Limoncelli
9faa4e4097 Fix TOC 2020-03-29 11:26:02 -04:00
Tom Limoncelli
6b3b21728c Fix TOC 2020-03-29 11:24:23 -04:00
Tom Limoncelli
228f1c9c58 fixup! 2020-03-29 11:15:13 -04:00
Tom Limoncelli
7a4368def7 fixup! 2020-03-29 11:11:03 -04:00
Tom Limoncelli
710df05119 Add a v1 => v2 migration guide 2020-03-29 11:02:05 -04:00
litongxue
f7ef1e38d6 fix typo in v2 manual.md demo code 2020-03-18 14:32:57 +08:00
Sascha Grunert
002bde2233
Add suggestions support
The new option `app.Suggest` enables command and flag suggestions via
the jaro-winkler distance algorithm. Flags are scoped to their
appropriate commands whereas command suggestions are scoped to the
current command level.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-03-03 13:06:34 +01:00
Robert Liebowitz
d04c0883fc
Merge pull request #1062 from zhsj/fix-zsh
Fix zsh completion scripts
2020-02-11 06:41:51 -05:00
tsubasa
e5116c870d
Added & before cli flag
Added & before cli flag
2020-02-11 15:12:31 +09:00
Shengjing Zhu
748fe05362 Fix zsh completion scripts
This fix completion when argument startswith -
And prevent completing a space when no candidates
2020-02-10 01:43:36 +08:00
Mason Johnson
305e3decba Improved auto-completion instructions and example gifs 2020-02-05 17:51:33 -07:00
Ajitem Sahasrabuddhe
8a9326b22d
Update manual.md
formatting nits
2020-01-27 11:14:24 +05:30
Ajitem Sahasrabuddhe
f497fa3b9f
fix order of placement and toc 2020-01-26 19:49:43 +05:30
Ajitem Sahasrabuddhe
1efee6b1da
docs test expects a regex of output 2020-01-26 19:45:04 +05:30
Ajitem Sahasrabuddhe
1c57160c23
Update manual.md 2020-01-26 19:19:11 +05:30