File tree 6 files changed +59
-14
lines changed
6 files changed +59
-14
lines changed Original file line number Diff line number Diff line change 1
1
(convert-config)=
2
2
3
- (tmuxp-config)=
4
-
5
3
# tmuxp convert
6
4
7
5
Convert between YAML and JSON
@@ -24,3 +22,12 @@ $ tmuxp convert /path/to/file.json
24
22
25
23
tmuxp automatically will prompt to convert ` .yaml ` to ` .json ` and
26
24
` .json ` to ` .yaml ` .
25
+
26
+ ## Reference
27
+
28
+ ``` {eval-rst}
29
+ .. click:: tmuxp.cli:cli
30
+ :prog: tmuxp convert
31
+ :commands: convert
32
+ :nested: full
33
+ ```
Original file line number Diff line number Diff line change @@ -17,3 +17,12 @@ environment:
17
17
...
18
18
19
19
```
20
+
21
+ ## Reference
22
+
23
+ ``` {eval-rst}
24
+ .. click:: tmuxp.cli:cli
25
+ :prog: tmuxp debug-info
26
+ :commands: debug-info
27
+ :nested: full
28
+ ```
Original file line number Diff line number Diff line change @@ -23,3 +23,12 @@ Tmuxp will offer to save your session state to `.json` or `.yaml`.
23
23
If no session is specified, it will default to the attached session.
24
24
25
25
If the ` --force ` argument is passed, it will overwrite any existing config file with the same name.
26
+
27
+ (cli-freeze-reference)=
28
+
29
+ ``` {eval-rst}
30
+ .. click:: tmuxp.cli:cli
31
+ :prog: tmuxp freeze
32
+ :commands: freeze
33
+ :nested: full
34
+ ```
Original file line number Diff line number Diff line change 6
6
7
7
## From teamocil
8
8
9
+ ``` {eval-rst}
10
+ .. click:: tmuxp.cli:command_import_teamocil
11
+ :prog: tmuxp import teamocil
12
+ :nested: full
13
+ ```
14
+
9
15
```` {tab} YAML
10
16
11
17
```console
@@ -26,6 +32,12 @@ $ tmuxp import teamocil /path/to/file.json
26
32
27
33
## From tmuxinator
28
34
35
+ ``` {eval-rst}
36
+ .. click:: tmuxp.cli:command_import_tmuxinator
37
+ :prog: tmuxp import tmuxinator
38
+ :nested: short
39
+ ```
40
+
29
41
```` {tab} YAML
30
42
31
43
```console
Original file line number Diff line number Diff line change @@ -118,3 +118,12 @@ $ tmuxp load [filename] --log-file [log_filename]
118
118
``` console
119
119
$ tmuxp --log-level [LEVEL] load [filename] --log-file [log_filename]
120
120
```
121
+
122
+ (tmuxp-load-reference)=
123
+
124
+ ``` {eval-rst}
125
+ .. click:: tmuxp.cli:cli
126
+ :prog: tmuxp load
127
+ :commands: load
128
+ :nested: full
129
+ ```
Original file line number Diff line number Diff line change 1
1
(cli-shell)=
2
2
3
- (tmuxp-shell)=
4
-
5
3
# tmuxp shell
6
4
7
- ``` console
8
- $ tmuxp shell
5
+ ``` {eval-rst}
6
+ .. click:: tmuxp.cli:command_shell
7
+ :prog: tmuxp shell
8
+ :commands: shell
9
+ :nested: none
9
10
```
10
11
11
- ``` console
12
- $ tmuxp shell [session_name]
13
- ```
14
-
15
- ``` console
16
- $ tmuxp shell [session_name] [window_name]
17
- ```
12
+ ## Directly enter commands
18
13
19
14
``` console
20
15
$ tmuxp shell -c ' python code'
21
16
```
22
17
23
- Launch into a python console with [ libtmux ] objects. Compare to django's shell.
18
+ ## Example
24
19
25
20
``` {image} ../_static/tmuxp-shell.gif
26
21
:width: 100%
27
22
```
28
23
24
+ ## Guide
25
+
26
+ Launch into a python console with [ libtmux] objects. Compare to django's shell.
27
+
29
28
Automatically preloads current tmux {class}` server <libtmux.Server> ` ,
30
29
{class}` session <libtmux.Session> ` , {class}` window <libtmux.Window> `
31
30
{class}` pane <libtmux.Pane> ` . Pass additional arguments to select a
You can’t perform that action at this time.
0 commit comments