pub enum Command {
Greet {
name: Option<String>,
},
Echo {
message: String,
},
Status,
Help,
Doctor {
json: bool,
},
Watch {
url: Option<String>,
interval: u64,
},
Provider {
command: String,
json: Value,
},
Providers(ProviderCommand),
PackageGenerate {
write: bool,
},
Setup(SetupCommand),
}Variants§
Greet
Echo
Status
Help
Doctor
Pre-flight environment validation (§48).
CUSTOMIZE: Always keep this command. It is the operator’s first stop when setting up or debugging the service.
Watch
Poll the MCP server health endpoint and emit a line on every state change.
Designed to be run as a plugin monitor — stdout is the event stream, stderr is debug output. Exits only on CTRL+C.
Fields
Provider
Providers(ProviderCommand)
PackageGenerate
Setup(SetupCommand)
Trait Implementations§
Source§impl From<Command> for CliInvocation
impl From<Command> for CliInvocation
impl Eq for Command
impl StructuralPartialEq for Command
Auto 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
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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>
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 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>
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