pub enum Command {
Show 25 variants
Models {
command: ModelsCommand,
},
Download {
name: Option<String>,
draft: bool,
},
Update {
version: Option<String>,
flavor: Option<BinaryFlavor>,
detect_flavor: bool,
},
Gpus {
json: bool,
command: Option<GpuCommand>,
},
Runtime {
command: Option<RuntimeCommand>,
},
Config {
command: ConfigCommand,
},
Doctor {
json: bool,
command: Option<DoctorCommand>,
},
Setup {
yes: bool,
no_interactive: bool,
service: bool,
no_service: bool,
skip_runtime: bool,
verbose: bool,
},
Uninstall {
dry_run: bool,
yes: bool,
keep_cache: bool,
keep_service_files: bool,
purge_config: bool,
keep_config: bool,
binary_path: Option<PathBuf>,
json: bool,
verbose: bool,
},
Load {
name: String,
port: u16,
},
Unload {
name: String,
port: u16,
},
Status {
port: u16,
},
Discover {
name: Option<String>,
model: Option<String>,
min_vram: Option<f64>,
region: Option<String>,
auto: bool,
relay: Vec<String>,
},
RotateKey,
Goose {
model: Option<String>,
port: u16,
},
Claude {
model: Option<String>,
port: u16,
},
Pi {
model: Option<String>,
host: String,
write: bool,
},
Opencode {
model: Option<String>,
host: String,
write: bool,
},
Stop,
Plugin {
command: PluginCommand,
},
Skills {
command: SkillCommand,
},
Benchmark {
command: BenchmarkCommand,
},
ModelPrepare {Show 16 fields
source_repo: Option<String>,
quant: Option<String>,
target: Option<String>,
model_id: Option<String>,
flavor: String,
timeout: String,
mesh_llm_ref: String,
dry_run: bool,
confirm: bool,
follow: bool,
json: bool,
status: Option<String>,
logs: Option<String>,
cancel: Option<String>,
list: bool,
update_script: bool,
},
Auth {
command: AuthCommand,
},
ExternalPlugin(Vec<OsString>),
}Variants§
Models
Manage model storage, migration, and update checks.
Fields
command: ModelsCommandDownload
Download a model from the remote catalog or Hugging Face
Fields
Update
Update mesh-llm to a bundled release and exit.
Fields
flavor: Option<BinaryFlavor>Install this release bundle flavor instead of the default installed flavor.
Gpus
Inspect local GPUs, stable IDs, and cached bandwidth.
Runtime
Inspect and manage native runtimes.
Fields
command: Option<RuntimeCommand>Config
Inspect and validate mesh-llm configuration files.
Fields
command: ConfigCommandDoctor
Diagnose local mesh, runtime, and split-readiness problems.
Fields
command: Option<DoctorCommand>Setup
Bootstrap a new installation.
Fields
Uninstall
Remove mesh-llm binaries, service files, and optional caches.
Fields
Load
Load a local model into a running mesh-llm instance.
Fields
Unload
Unload a local model from a running mesh-llm instance.
Fields
Status
Show local model status on a running mesh-llm instance.
Discover
Discover meshes and optionally auto-join one.
Fields
RotateKey
Rotate all identity keys (node + Nostr).
Goose
Launch Goose with mesh-llm as the inference provider.
If no mesh is running on –port, this auto-joins the mesh as a client.
Fields
Claude
Launch Claude Code with mesh-llm as the inference provider.
If no mesh is running on –port, this auto-joins the mesh as a client.
Fields
Pi
Launch pi with mesh-llm as the inference provider.
If no mesh is running on a loopback/localhost target, this auto-joins the mesh as a client. Writes a mesh provider into ~/.pi/agent/models.json and launches pi unless –write is set.
Fields
Opencode
Launch OpenCode with mesh-llm as the inference provider.
If no mesh is running on a loopback/localhost target, this auto-joins the mesh as a client.
Fields
Stop
Stop running mesh-llm processes.
Plugin
Plugin management.
Fields
command: PluginCommandSkills
Install agent skills exposed by installed plugins.
Fields
command: SkillCommandBenchmark
Benchmark and compare model/runtime strategies.
Fields
command: BenchmarkCommandModelPrepare
Prepare a model for distributed inference by splitting it into per-layer files on HF compute.
Submits an HF Job that builds skippy-model-package from source, splits the model, publishes the layer package, and updates the meshllm/catalog.
Fields
source_repo: Option<String>Source HuggingFace model ref (e.g. unsloth/Qwen3-235B-A22B-GGUF:UD-Q4_K_XL).
Auth
Manage owner identity and keystore.
Fields
command: AuthCommandExternalPlugin(Vec<OsString>)
Run a CLI command contributed by a configured plugin.
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 subcommandAuto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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