You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,14 @@ Options:
53
53
54
54
When setting this option, you should be aware that twm will not "see" this session when performing other automatic actions. For example, if you have a workspace at ~/foobar and run `twm -n jimbob -p ~/foobar`, and then run `twm` and select `~/foobar` from the picker, a new session `foobar` will be created. If you then run `twm -g` and select `foobar`, `foobar-1` will be created in the `foobar` group.
55
55
56
+
-N, --print-workspace-name
57
+
Print the name of the workspace generated for the given path to stdout.
58
+
59
+
This can be used with other options.
60
+
61
+
-c, --command <COMMAND>
62
+
Override any layouts and open the workspace with the given command instead
Copy file name to clipboardExpand all lines: src/cli.rs
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,17 @@ pub struct Arguments {
53
53
/// For example, if you have a workspace at ~/foobar and run `twm -n jimbob -p ~/foobar`, and then run `twm` and select `~/foobar` from the picker, a new session `foobar` will be created. If you then run `twm -g` and select `foobar`, `foobar-1` will be created in the `foobar` group.
54
54
pubname:Option<String>,
55
55
56
+
#[clap(short, long)]
57
+
#[clap(short = 'N')]
58
+
/// Print the name of the workspace generated for the given path to stdout.
59
+
///
60
+
/// This can be used with other options.
61
+
pubprint_workspace_name:bool,
62
+
63
+
#[clap(short, long)]
64
+
/// Override any layouts and open the workspace with the given command instead.
0 commit comments