docs: add --help output from various wezterm cli subcommands

This commit is contained in:
Wez Furlong committed 2023-03-22 20:44:15 -07:00
1 parent 287026cfa0
commit 2b9bf36eb6
28 files changed
+202 -11

No files matched your search

+5
View File
@@ -12,3 +12,8 @@ ignoring case so you can use `left` rather than `Left`:
* `Left`, `Right`, `Up`, `Down` to activate based on direction
* `Next`, `Prev` to cycle based on the ordinal position in the pane tree.
## Synopsis
```console
{% include "../../examples/cmd-synopsis-wezterm-cli-activate-pane-direction--help.txt" %}
```
+6
View File
@@ -25,3 +25,9 @@ The default capture region is the main terminal screen, not including the scroll
You may use the `--start-line` and `--end-line` parameters to set the range.
Both of these accept integer values, where `0` refers to the top of the non-scrollback
screen area, and negative numbers index backwards into the scrollback.
## Synopsis
```console
{% include "../../examples/cmd-synopsis-wezterm-cli-get-text--help.txt" %}
```
+6
View File
@@ -44,3 +44,9 @@ $ wezterm cli list-clients --format json
}
]
```
## Synopsis
```console
{% include "../../examples/cmd-synopsis-wezterm-cli-list-clients--help.txt" %}
```
+6
View File
@@ -43,3 +43,9 @@ $ wezterm cli list --format json
}
]
```
## Synopsis
```console
{% include "../../examples/cmd-synopsis-wezterm-cli-list--help.txt" %}
```
+6
View File
@@ -13,3 +13,9 @@ The following arguments modify the behavior:
* `--window-id WINDOW_ID` - Create the new tab in the specified window id rather than the current window.
* `--workspace WORKSPACE` - When using `--new-window`, use `WORKSPACE` as the name of the workspace for the newly created window rather than the default workspace name `"default"`.
* `--pane-id` - Specifies which pane to move. See also [Targeting Panes](index.md#targeting-panes).
## Synopsis
```console
{% include "../../examples/cmd-synopsis-wezterm-cli-move-pane-to-new-tab--help.txt" %}
```
+6
View File
@@ -23,3 +23,9 @@ The following arguments modify the behavior:
* `--no-paste` - Send the text directly, rather than as a bracketed paste. {{since('20220624-141144-bd1b7c5d', inline=True)}}
* `--pane-id` - Specifies which pane to send the text to. See also [Targeting Panes](index.md#targeting-panes).
## Synopsis
```console
{% include "../../examples/cmd-synopsis-wezterm-cli-send-text--help.txt" %}
```
+6
View File
@@ -41,3 +41,9 @@ The following options affect the behavior:
* `--workspace WORKSPACE` - when using `--new-window`, set the workspace name rather than using the default name of `"default"`.
* `--window-id WINDOW_ID` - Spawn the tab into the specified window, rather than using the current window
## Synopsis
```console
{% include "../../examples/cmd-synopsis-wezterm-cli-spawn--help.txt" %}
```
+5
View File
@@ -48,3 +48,8 @@ The following options affect the behavior:
* `--top` - Split vertically, with the new pane on the top.
* `--top-level` - Rather than splitting the active pane, split the entire window.
## Synopsis
```console
{% include "../../examples/cmd-synopsis-wezterm-cli-split-pane--help.txt" %}
```