Skip to main content

Module cli

Module cli 

Source

Structs§

Cli
SessionArgs
Flags for the default session / ephemeral -w flow. Flattened onto the root so workon, workon -w, and workon -c foo keep parsing as before; they conflict with the subcommands via args_conflicts_with_subcommands.

Enums§

Command
Headless workspace lifecycle: create -> (attach <-> quit)* -> destroy. Quitting an attach session detaches; the workspace survives until destroy.

Functions§

given_name
--name "" counts as no name, so the caller falls back to its default (the directory name, or an unlabelled ws_id).
normalize_argv
Move a leading --mux to the end.