pub enum Command {
Show 23 variants
List,
Up {
profile: String,
tab: Option<u32>,
detach: bool,
},
Attach {
session: String,
tab: Option<u32>,
},
Down {
session: String,
},
New {
name: String,
tab: Vec<String>,
color: String,
detach: bool,
},
Color {
session: Option<String>,
color: Option<String>,
list: bool,
},
Ps {
profile: Option<String>,
},
Ports {
profile: Option<String>,
},
Top {
profile: Option<String>,
},
Status,
Peek {
session: String,
tabs: Vec<String>,
lines: u32,
},
Pin,
Unpin,
SyncRename {
session: String,
window: u32,
name: String,
},
PaneDied {
session_name: String,
window_name: String,
pane_id: String,
exit_code: i32,
},
Bell {
session_name: String,
window_name: String,
},
Profile {
action: ProfileAction,
},
Notifications {
action: NotificationAction,
},
Release {
session: String,
name: Option<String>,
},
Adopt {
session: String,
name: Option<String>,
color: String,
save: bool,
detach: bool,
},
ShellInit {
shell: String,
},
ShellSuggest {
dir: String,
},
Settings {
terminal: Option<String>,
shell: Option<String>,
tmux_path: Option<String>,
},
}Expand description
Top-level commands.
Variants§
List
List profiles and running sessions
Up
Create or attach to a profile’s session
Fields
Attach
Attach to a running session
Down
Destroy a session
New
Create an ad-hoc session
Fields
Color
Manage session colors
Fields
Ps
Show processes running inside sessions
Ports
Show listening ports inside sessions
Top
Show resource usage (CPU, memory, GPU) for session processes
Status
Show all sessions with details
Peek
Peek at recent terminal output
Fields
Pin
Pin the current tab to the session’s profile
Unpin
Unpin the current tab from the session’s profile
SyncRename
Sync a window rename to the profile (called by tmux hook)
PaneDied
Handle pane death notification (called by tmux hook)
Bell
Handle bell notification (called by tmux hook)
Profile
Profile management
Fields
action: ProfileActionNotifications
Notification management
Fields
action: NotificationActionRelease
Release a muster-managed session back to plain tmux
Fields
Adopt
Adopt an existing tmux session under muster management
Fields
ShellInit
Output shell integration code for automatic profile suggestions on cd
ShellSuggest
Suggest profiles matching a directory (used by shell integration)
Settings
Show or update settings
Trait Implementations§
Source§impl FromArgMatches for Command
impl FromArgMatches for Command
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Command
impl Subcommand for Command
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand