pub enum QuickCommand {
Show 17 variants
Infer {
model: String,
prompt: Option<String>,
image: Option<String>,
max_tokens: Option<usize>,
temperature: Option<f32>,
top_p: Option<f32>,
top_k: Option<usize>,
repeat_penalty: Option<f32>,
seed: Option<u32>,
sync: bool,
},
Clone {
repo_url: String,
name: Option<String>,
branch: Option<String>,
depth: u32,
full: bool,
quiet: bool,
verbose: bool,
policy: Option<String>,
},
List {
status: Vec<String>,
filter: Vec<String>,
},
Info {
model: String,
verbose: bool,
adapters_only: bool,
},
Status {
model: Option<String>,
verbose: bool,
},
Branch {
model: String,
name: String,
from: Option<String>,
policy: Option<String>,
},
Checkout {
model: String,
git_ref: Option<String>,
create_branch: bool,
force: bool,
},
Pull {
model: String,
remote: Option<String>,
branch: Option<String>,
rebase: bool,
},
Remove {
model: String,
force: bool,
registry_only: bool,
files_only: bool,
},
Load {
model: String,
max_context: Option<usize>,
kv_quant: KVQuantArg,
wait: Option<u64>,
},
Unload {
model: String,
},
Notify {
command: NotifyCommand,
},
Worktree {
command: WorktreeQuickCommand,
},
Worker {
command: WorkerAction,
},
Training(TrainingCommand),
Policy {
command: PolicyCommand,
},
Remote {
command: RemoteQuickCommand,
},
}Expand description
Quick workflows — multi-step convenience commands
Variants§
Infer
Run inference with a model (streaming, stdin support)
Fields
Clone
Clone a model repository (with progress, policy support)
Fields
List
List available models with status and capability detection
Fields
Info
Get detailed information about a model
Fields
Status
Show working tree status
Branch
Create a new branch (with worktree + policy setup)
Fields
Checkout
Switch branches or checkout specific commit/tag
Fields
Pull
Pull changes from remote
Fields
Remove
Remove a model from the system (interactive confirmation)
Fields
Load
Load a model into memory with runtime configuration
Fields
kv_quant: KVQuantArgKV cache quantization type
wait: Option<u64>Wait for model to finish loading, with optional timeout in seconds
Model loading can take 60s+ for large models, exceeding the default 30s RPC timeout. With -w/–wait, the CLI subscribes to encrypted notification events from the model service and waits asynchronously for a model.loaded or model.failed event.
The timeout value is optional (default: 120s). Examples: -w Wait up to 120s (default) -w 300 Wait up to 300s –wait Wait up to 120s –wait 60 Wait up to 60s
Unload
Unload a model from memory
Notify
Listen for real-time events from hyprstream services
The notification system uses end-to-end encrypted broadcast delivery. Each subscriber gets a unique Ristretto255 keypair, and the notification service acts as a blind relay — it routes encrypted messages without being able to read their contents.
Fields
command: NotifyCommandWorktree
Worktree management
Fields
command: WorktreeQuickCommandWorker
Worker (sandbox/container) management commands
Multi-step orchestrated workflows for Kata VMs and OCI containers. Commands involve multiple RPC calls, service bootstrapping, and interactive terminal I/O.
Fields
command: WorkerActionTraining(TrainingCommand)
Training workflows (multi-step, GPU, streaming)
Policy
Policy management commands (interactive, multi-step)
Fields
command: PolicyCommandRemote
Remote management commands
Fields
command: RemoteQuickCommandTrait Implementations§
Source§impl FromArgMatches for QuickCommand
impl FromArgMatches for QuickCommand
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 QuickCommand
impl Subcommand for QuickCommand
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 QuickCommand
impl RefUnwindSafe for QuickCommand
impl Send for QuickCommand
impl Sync for QuickCommand
impl Unpin for QuickCommand
impl UnsafeUnpin for QuickCommand
impl UnwindSafe for QuickCommand
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request