Skip to content

Commit 3380ec2

Browse files
committed
docs(cli): Fix various namespaces. Add edit and ls
1 parent f54a04f commit 3380ec2

File tree

5 files changed

+25
-3
lines changed

5 files changed

+25
-3
lines changed

docs/cli/convert.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ tmuxp automatically will prompt to convert `.yaml` to `.json` and
2626
## Reference
2727

2828
```{eval-rst}
29-
.. click:: tmuxp.cli:cli
29+
.. click:: tmuxp.cli.convert:command_convert
3030
:prog: tmuxp convert
3131
:commands: convert
3232
:nested: full

docs/cli/debug-info.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ environment:
2121
## Reference
2222

2323
```{eval-rst}
24-
.. click:: tmuxp.cli:cli
25-
:prog: tmuxp
24+
.. click:: tmuxp.cli.debug_info:command_debug_info
25+
:prog: tmuxp debug-info
2626
:commands: debug-info
2727
:nested: full
2828
```

docs/cli/edit.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
(edit-config)=
2+
3+
# tmuxp edit
4+
5+
```{eval-rst}
6+
.. click:: tmuxp.cli.edit:command_edit
7+
:prog: tmuxp edit
8+
:commands: edit
9+
:nested: full
10+
```

docs/cli/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@
1010
1111
load
1212
shell
13+
ls
1314
```
1415

1516
```{toctree}
1617
:caption: Configuration
1718
:maxdepth: 1
1819
20+
edit
1921
import
2022
convert
2123
freeze

docs/cli/ls.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
(ls-config)=
2+
3+
# tmuxp ls
4+
5+
```{eval-rst}
6+
.. click:: tmuxp.cli.ls:command_ls
7+
:prog: tmuxp ls
8+
:commands: ls
9+
:nested: full
10+
```

0 commit comments

Comments
 (0)