pub enum Ask {
Run,
Help,
Version,
Schema,
WorkflowSchema,
ContextTemplate,
Validate,
Capabilities,
Login(String),
Logout(String),
}Expand description
What the loader was asked to do besides loading (short-circuits the CLI handles).
Variants§
Run
Help
Version
Schema
WorkflowSchema
ContextTemplate
--context-template: print the built-in system-prompt template, so an
override starts from a copy rather than a guess.
Validate
Capabilities
Login(String)
--login <target>: complete the interactive OAuth device flow for a
configured endpoint and cache the token.
Logout(String)
--logout <target>: evict a cached credential.
Trait Implementations§
impl Eq for Ask
impl StructuralPartialEq for Ask
Auto Trait Implementations§
impl Freeze for Ask
impl RefUnwindSafe for Ask
impl Send for Ask
impl Sync for Ask
impl Unpin for Ask
impl UnsafeUnpin for Ask
impl UnwindSafe for Ask
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