pub enum Cmd {
Show 17 variants
Headroom(HeadroomArgs),
Why {
json: bool,
},
Reclaim(ReclaimArgs),
Stale {
json: bool,
limit: usize,
},
Sandboxes {
json: bool,
},
Ns {
json: bool,
},
Ports {
json: bool,
exposed: bool,
links: bool,
},
Models {
json: bool,
no_hash: bool,
},
Json {
compact: bool,
},
Ndjson {
interval: Duration,
count: Option<u64>,
discard: bool,
},
Serve {
listen: Option<String>,
allow_host: Vec<String>,
max_requests: Option<usize>,
},
Mcp {
allow_actions: bool,
},
Doctor {
json: bool,
no_probe: bool,
},
Config {
cmd: ConfigCmd,
},
Theme {
cmd: ThemeCmd,
},
Keys {
cmd: KeysCmd,
},
Profile {
cmd: ProfileCmd,
},
}Variants§
Headroom(HeadroomArgs)
Can I load this now? Exit 0 yes · 3 yes after reclaim · 4 no · 1 unmeasurable.
Why
Ranked causes of slowness / memory pressure, with evidence.
Reclaim(ReclaimArgs)
Idle build daemons, orphans and idle model servers; stops only after confirmation (or –yes).
Stale
Stale groups ranked with their evidence, leftovers of ended agent sessions, duplicates.
Sandboxes
Containers, VMs and local Kubernetes: limits with OOM ETAs, the cluster tree, VM slack, stale containers.
Ns
Linux namespace sets: processes grouped by the namespaces they do not share with oomtop.
Ports
Listening ports → process → group, exposure, tunnels, conflicts, and who talks to whom.
Fields
Models
Model files on disk: size, last use, duplicates, and which server has each loaded.
Json
One snapshot as JSON (schema_version 1, command lines redacted).
Ndjson
Snapshots as newline-delimited JSON (one per interval).
Fields
Serve
HTTP JSON + Prometheus /metrics (binds 127.0.0.1 unless told otherwise).
Fields
Mcp
MCP server over stdio (read-only tools unless –allow-actions).
Doctor
Detected capabilities, each source’s status and why, config/state locations.
Fields
Config
Configuration files (layered, comment-preserving).
Theme
Themes (semantic tokens).
Keys
Key bindings.
Profile
Local personalization profile (never leaves this machine).
Fields
cmd: ProfileCmdTrait Implementations§
Source§impl FromArgMatches for Cmd
impl FromArgMatches for Cmd
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 Cmd
impl Subcommand for Cmd
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 subcommandAuto Trait Implementations§
impl Forget for Cmd
impl Freeze for Cmd
impl Move for Cmd
impl RefUnwindSafe for Cmd
impl Send for Cmdwhere
RawVecInner: Send,
impl Sync for Cmdwhere
RawVecInner: Sync,
impl Unpin for Cmd
impl UnsafeUnpin for Cmdwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Cmdwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more