Skip to main content

Command

Enum Command 

Source
pub enum Command {
Show 22 variants Init(InitArgs), Dashboard(DashboardArgs), Combine(CombineArgs), Dispatch(DispatchArgs), EditStart(EditStartArgs), EditFinish(EditFinishArgs), Review(ReviewArgs), Clean(CleanArgs), Status { id: String, json: bool, }, Wait { ids: Vec<String>, any: bool, timeout: u64, }, Skill(SkillArgs), Update { check: bool, rollback: bool, }, Cost(CostArgs), Statusline(StatuslineArgs), Plan(PlanArgs), Surfaces { json: bool, stopped: bool, }, Open { name: String, open_in: Option<String>, }, Reload(ReloadArgs), Tell { name: String, message: String, from: String, }, Comments(CommentsArgs), Instructions(InstructionsArgs), Undo(UndoArgs),
}

Variants§

§

Init(InitArgs)

Detect this repository’s checks and write blyte.toml

§

Dashboard(DashboardArgs)

Serve a local dashboard of running and recent jobs

§

Combine(CombineArgs)

Combine a request’s passed runs on a work branch and run the repository’s check

§

Dispatch(DispatchArgs)

Run one task in its own git worktree (.wt/, branch wip/) and print a JSON summary

§

EditStart(EditStartArgs)

Start a direct edit in its own git worktree (.wt/, branch wip/)

§

EditFinish(EditFinishArgs)

Verify and record a direct edit started with blyte edit-start

§

Review(ReviewArgs)

Show what a dispatched run did: commits, files, tree state, report, and optionally the diff

§

Clean(CleanArgs)

Remove finished worktrees and merged branches

§

Status

Show what a dispatch is doing

Fields

§json: bool
§

Wait

Wait until dispatched runs finish (all of them, or the first with –any) and print one line per finished run

Fields

§ids: Vec<String>

Run ids, as given to blyte dispatch

§any: bool

Return as soon as at least one run has finished

§timeout: u64

Give up after this many seconds (exit 2); stays under the 300 s shell-command limit

§

Skill(SkillArgs)

Install or print the Claude Code skill for the plan, delegate, review workflow

§

Update

Replace this binary with the latest release (the old one is kept as blyte.prev)

Fields

§check: bool

Only show the installed and latest versions

§rollback: bool

Swap back to the previous build (blyte.prev)

§

Cost(CostArgs)

Show conversation model and implementer costs

§

Statusline(StatuslineArgs)

Print Claude Code’s status line with blyte costs

§

Plan(PlanArgs)

List a plan’s tasks with their state and the command to dispatch each ready one

§

Surfaces

List the surfaces running on this machine

Fields

§json: bool
§stopped: bool

List the stopped surfaces of the current folder

§

Open

Open a running surface’s page by name

Fields

§name: String
§open_in: Option<String>

Open the surface in an app window (app, default) or the default browser (browser)

§

Reload(ReloadArgs)

Reload a running surface onto the installed blyte binary

§

Tell

Send a message to a running surface

Fields

§name: String
§message: String
§from: String
§

Comments(CommentsArgs)

Fail when the working tree adds comments since a base commit

§

Instructions(InstructionsArgs)

Print the instructions the conversation model is given

§

Undo(UndoArgs)

Restore a folder to its state before an in-place run

Trait Implementations§

Source§

impl Clone for Command

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Command

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromArgMatches for Command

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 PartialEq for Command

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Command

Source§

impl Subcommand for Command

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§

§

impl Forget for Command

§

impl Freeze for Command

§

impl Move for Command

§

impl RefUnwindSafe for Command

§

impl Send for Command
where RawVecInner: Send,

§

impl Sync for Command
where RawVecInner: Sync,

§

impl Unpin for Command
where *const u8 is !null: Unpin,

§

impl UnsafeUnpin for Command

§

impl UnwindSafe for Command
where RawVecInner: UnwindSafe,

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
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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

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

Initializes a with the given initializer. Read more
Source§

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

Dereferences the given pointer. Read more
Source§

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

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

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

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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.