Skip to main content

QuickCommand

Enum QuickCommand 

Source
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

§model: String

Model reference (e.g., “Qwen3-4B”, “qwen/qwen-2b”, “model:branch”)

§prompt: Option<String>

Prompt text (reads from stdin if not provided)

§image: Option<String>

Image file path for multimodal models

§max_tokens: Option<usize>

Maximum tokens to generate

§temperature: Option<f32>

Temperature for sampling (0.0 = deterministic)

§top_p: Option<f32>

Top-p (nucleus) sampling

§top_k: Option<usize>

Top-k sampling

§repeat_penalty: Option<f32>

Repetition penalty (1.0 = no penalty, >1.0 = penalize)

§seed: Option<u32>

Random seed for deterministic generation

§sync: bool

Collect full response before printing (default: stream tokens live)

§

Clone

Clone a model repository (with progress, policy support)

Fields

§repo_url: String

Git repository URL

§name: Option<String>

Local name for the model

§branch: Option<String>

Branch, tag, or commit to clone

§depth: u32

Clone depth (number of commits). Default is 1 for shallow clone.

§full: bool

Clone with full history (overrides –depth)

§quiet: bool

Suppress progress output

§verbose: bool

Verbose output

§policy: Option<String>

Apply a policy template to the cloned model

§

List

List available models with status and capability detection

Fields

§status: Vec<String>

Filter by load status (comma-separated, OR semantics, repeatable). Valid values: loaded, loading, unloaded e.g. -s loaded or -s loaded,loading

§filter: Vec<String>

Filter output by column regex (repeatable, AND semantics). Patterns are unanchored by default; use ^ and $ to anchor. e.g. –filter name=qwen –filter ‘domains=llm|vision’ Valid keys: name, domains, access, ref, commit, size

§

Info

Get detailed information about a model

Fields

§model: String

Model name or reference

§verbose: bool

Show detailed output

§adapters_only: bool

Show only adapter information

§

Status

Show working tree status

Fields

§model: Option<String>

Model reference

§verbose: bool

Verbose output

§

Branch

Create a new branch (with worktree + policy setup)

Fields

§model: String

Model name

§name: String

Branch name

§from: Option<String>

Create from specific ref

§policy: Option<String>

Apply a policy template to the new branch

§

Checkout

Switch branches or checkout specific commit/tag

Fields

§model: String

Model name or model reference

§git_ref: Option<String>

Git reference to checkout

§create_branch: bool

Create new branch if it doesn’t exist

§force: bool

Force checkout

§

Pull

Pull changes from remote

Fields

§model: String

Model name

§remote: Option<String>

Remote name (default: origin)

§branch: Option<String>

Branch to pull

§rebase: bool

Rebase instead of merge

§

Remove

Remove a model from the system (interactive confirmation)

Fields

§model: String

Model name to remove

§force: bool

Force removal without confirmation

§registry_only: bool

Remove only from registry, keep files

§files_only: bool

Remove files only, keep registry entry

§

Load

Load a model into memory with runtime configuration

Fields

§model: String

Model reference

§max_context: Option<usize>

Maximum context length for KV cache allocation

§kv_quant: KVQuantArg

KV 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

Fields

§model: String

Model reference

§

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

§

Worktree

Worktree management

Fields

§

Worker

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

§

Training(TrainingCommand)

Training workflows (multi-step, GPU, streaming)

§

Policy

Policy management commands (interactive, multi-step)

Fields

§

Remote

Remote management commands

Fields

Trait Implementations§

Source§

impl FromArgMatches for QuickCommand

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

impl Subcommand for QuickCommand

Source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self via [FromArgMatches::from_arg_matches_mut] Read more
Source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate self via [FromArgMatches::update_from_arg_matches_mut] Read more
Source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for T
where T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for T
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send> ⓘ

§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FutureExt for T

§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
§

impl<T, W> HasTypeWitness<W> for T
where W: MakeTypeWitness<Arg = T>, T: ?Sized,

§

const WITNESS: W = W::MAKE

A constant of the type witness
§

impl<T> Identity for T
where T: ?Sized,

§

const TYPE_EQ: TypeEq<T, <T as Identity>::Type> = TypeEq::NEW

Proof that Self is the same type as Self::Type, provides methods for casting between Self and Self::Type.
§

type Type = T

The same type as Self, used to emulate type equality bounds (T == U) with associated type equality constraints (T: Identity<Type = U>).
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
Source§

impl<T> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
§

impl<T> JaggedSlice<T> for T

§

type Index = Index2

§

fn push_into(self, array: &mut Jagged<T>)

§

fn insert_into(self, index: <T as JaggedSlice<T>>::Index, array: &mut Jagged<T>)

§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
§

impl<T> ServiceExt for T

§

fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>
where Self: Sized,

Apply a transformation to the response body. Read more
§

fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>
where Self: Sized,

High level tracing that classifies responses using HTTP status codes. Read more
§

fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>
where Self: Sized,

High level tracing that classifies responses using gRPC headers. Read more
§

fn follow_redirects(self) -> FollowRedirect<Self>
where Self: Sized,

Follow redirect resposes using the Standard policy. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSend for T
where T: Send,

§

impl<T> MaybeSend for T
where T: Send,

§

impl<T> MaybeSync for T
where T: Sync,

§

impl<T> MaybeSync for T
where T: Sync,

§

impl<T> SendSyncUnwindSafe for T
where T: Send + Sync + UnwindSafe + ?Sized,