pub struct PluginTagCommand { /* private fields */ }Expand description
Create a {name}--v{version} git tag for a plugin release.
Runs claude plugin tag [path], validating that the plugin’s
plugin.json and any enclosing marketplace entry agree on the
version before tagging.
§Example
use claude_wrapper::{Claude, ClaudeCommand, PluginTagCommand};
let claude = Claude::builder().build()?;
let out = PluginTagCommand::new()
.path("./my-plugin")
.message("release %s")
.push()
.execute(&claude)
.await?;
println!("{}", out.stdout);Implementations§
Trait Implementations§
Source§impl ClaudeCommand for PluginTagCommand
impl ClaudeCommand for PluginTagCommand
Source§impl Clone for PluginTagCommand
impl Clone for PluginTagCommand
Source§fn clone(&self) -> PluginTagCommand
fn clone(&self) -> PluginTagCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginTagCommand
impl Debug for PluginTagCommand
Source§impl Default for PluginTagCommand
impl Default for PluginTagCommand
Source§fn default() -> PluginTagCommand
fn default() -> PluginTagCommand
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PluginTagCommand
impl RefUnwindSafe for PluginTagCommand
impl Send for PluginTagCommand
impl Sync for PluginTagCommand
impl Unpin for PluginTagCommand
impl UnsafeUnpin for PluginTagCommand
impl UnwindSafe for PluginTagCommand
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
Source§impl<T> ClaudeCommandSyncExt for Twhere
T: ClaudeCommand<Output = CommandOutput>,
impl<T> ClaudeCommandSyncExt for Twhere
T: ClaudeCommand<Output = CommandOutput>,
Source§fn execute_sync(&self, claude: &Claude) -> Result<CommandOutput, Error>
fn execute_sync(&self, claude: &Claude) -> Result<CommandOutput, Error>
Blocking analog of
ClaudeCommand::execute for commands
producing CommandOutput.