pub struct PluginListCommand { /* private fields */ }Expand description
List plugins available from configured marketplace snapshots
(codex plugin list).
Implementations§
Source§impl PluginListCommand
impl PluginListCommand
Sourcepub fn marketplace(self, name: impl Into<String>) -> Self
pub fn marketplace(self, name: impl Into<String>) -> Self
Only list plugins from this configured marketplace name (-m).
Sourcepub fn available(self) -> Self
pub fn available(self) -> Self
Include uninstalled marketplace plugins in the JSON output
(--available).
Sourcepub fn config(self, key_value: impl Into<String>) -> Self
pub fn config(self, key_value: impl Into<String>) -> Self
Override a config key (-c key=value). May be called multiple times.
Sourcepub fn enable(self, feature: impl Into<String>) -> Self
pub fn enable(self, feature: impl Into<String>) -> Self
Enable an optional feature flag (--enable <feature>).
Sourcepub fn disable(self, feature: impl Into<String>) -> Self
pub fn disable(self, feature: impl Into<String>) -> Self
Disable an optional feature flag (--disable <feature>).
Sourcepub fn retry(self, policy: RetryPolicy) -> Self
pub fn retry(self, policy: RetryPolicy) -> Self
Override the retry policy for this command.
Trait Implementations§
Source§impl Clone for PluginListCommand
impl Clone for PluginListCommand
Source§fn clone(&self) -> PluginListCommand
fn clone(&self) -> PluginListCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CodexCommand for PluginListCommand
impl CodexCommand for PluginListCommand
Source§impl Debug for PluginListCommand
impl Debug for PluginListCommand
Auto Trait Implementations§
impl Freeze for PluginListCommand
impl RefUnwindSafe for PluginListCommand
impl Send for PluginListCommand
impl Sync for PluginListCommand
impl Unpin for PluginListCommand
impl UnsafeUnpin for PluginListCommand
impl UnwindSafe for PluginListCommand
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