fromspec

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromSpec

func FromSpec(ctx context.Context, d deps.Deps, in FromSpecInput) (int, error)

FromSpec creates a worktree seeded from a Ticket and hands off to a configured agent. Returns the agent's exit code (0 when no agent_command is configured).

Types

type FromSpecInput

type FromSpecInput struct {
	Ticket    string
	Branch    string
	Base      string
	Current   bool
	OutputDir string
}

FromSpecInput parameterises a tp new --ticket invocation. Ticket must be set to a Ticket URL or, when the repo configures ticket_url, a bare Ref.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL