Definition
Assembly: CloudNimble.ClaudeEssentials.dll Namespace: CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs Inheritance: System.ObjectSyntax
Summary
Represents the input parameters for the ExitWorktree tool. The ExitWorktree tool exits and optionally removes a git worktree.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
Action
Gets or sets the action to take. WorktreeAction.Keep leaves the worktree and branch on disk; WorktreeAction.Remove deletes both.Syntax
Property Value
Type:CloudNimble.ClaudeEssentials.Hooks.WorktreeAction
DiscardChanges
Gets or sets whether to force removal when the worktree has uncommitted files or unmerged commits. Required to betrue when ExitWorktreeToolInput.Action is "remove" and there are uncommitted
files or unmerged commits. The tool will refuse and list them otherwise.
Syntax
Property Value
Type:System.Nullable<bool>
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?