Skip to main content

CliEvent

Enum CliEvent 

Source
pub enum CliEvent {
Show 25 variants VerbositySet { level: u8, }, QuietModeEnabled, FullModeEnabled, DebugModeEnabled, QuickPresetApplied, RapidPresetApplied, LongPresetApplied, StandardPresetApplied, ThoroughPresetApplied, DeveloperItersSet { value: u32, }, ReviewerReviewsSet { value: u32, }, DeveloperAgentSet { agent: String, }, ReviewerAgentSet { agent: String, }, DeveloperModelSet { model: String, }, ReviewerModelSet { model: String, }, DeveloperProviderSet { provider: String, }, ReviewerProviderSet { provider: String, }, ReviewerJsonParserSet { parser: String, }, IsolationModeDisabled, ReviewDepthSet { depth: String, }, GitUserNameSet { name: String, }, GitUserEmailSet { email: String, }, StreamingMetricsEnabled, AgentPresetSet { preset: String, }, CliProcessingComplete,
}
Expand description

CLI processing events.

Each event represents a discrete CLI argument or flag being processed. Events are processed in order, with later events taking precedence (last-wins semantics for conflicting options like presets).

Variants§

§

VerbositySet

Explicit verbosity level set via -v/–verbosity

Fields

§level: u8

Verbosity level (0-4)

§

QuietModeEnabled

Quiet mode enabled via –quiet

§

FullModeEnabled

Full mode enabled via –full

§

DebugModeEnabled

Debug mode enabled via –debug

§

QuickPresetApplied

Quick preset applied via -Q/–quick (1 dev, 1 review)

§

RapidPresetApplied

Rapid preset applied via -U/–rapid (2 dev, 1 review)

§

LongPresetApplied

Long preset applied via -L/–long (15 dev, 10 review)

§

StandardPresetApplied

Standard preset applied via -S/–standard (5 dev, 2 review)

§

ThoroughPresetApplied

Thorough preset applied via -T/–thorough (10 dev, 5 review)

§

DeveloperItersSet

Developer iterations explicitly set via -D/–developer-iters

Fields

§value: u32

Number of developer iterations

§

ReviewerReviewsSet

Reviewer reviews explicitly set via -R/–reviewer-reviews

Fields

§value: u32

Number of reviewer review passes

§

DeveloperAgentSet

Developer agent set via -a/–developer-agent

Fields

§agent: String

Agent name

§

ReviewerAgentSet

Reviewer agent set via -r/–reviewer-agent

Fields

§agent: String

Agent name

§

DeveloperModelSet

Developer model set via –developer-model

Fields

§model: String

Model identifier

§

ReviewerModelSet

Reviewer model set via –reviewer-model

Fields

§model: String

Model identifier

§

DeveloperProviderSet

Developer provider set via –developer-provider

Fields

§provider: String

Provider name

§

ReviewerProviderSet

Reviewer provider set via –reviewer-provider

Fields

§provider: String

Provider name

§

ReviewerJsonParserSet

Reviewer JSON parser set via –reviewer-json-parser

Fields

§parser: String

Parser name

§

IsolationModeDisabled

Isolation mode disabled via –no-isolation

§

ReviewDepthSet

Review depth set via –review-depth

Fields

§depth: String

Depth level (standard, comprehensive, security, incremental)

§

GitUserNameSet

Git user name set via –git-user-name

Fields

§name: String

User name for commits

§

GitUserEmailSet

Git user email set via –git-user-email

Fields

§email: String

User email for commits

§

StreamingMetricsEnabled

Streaming metrics enabled via –show-streaming-metrics

§

AgentPresetSet

Named preset for agent combinations (default, opencode)

Fields

§preset: String

Preset name

§

CliProcessingComplete

CLI processing complete

Trait Implementations§

Source§

impl Clone for CliEvent

Source§

fn clone(&self) -> CliEvent

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for CliEvent

Source§

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

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

impl<'de> Deserialize<'de> for CliEvent

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for CliEvent

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for CliEvent

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for CliEvent

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
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> 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> 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 = 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.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,