cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute runs the root command

Types

type CleanupResult

type CleanupResult struct {
	StaleWorktrees    []StaleWorktree
	StaleBranches     []string
	OrphanedTmuxSess  []string
	ActiveInstanceIDs map[string]bool // IDs of instances in active session
}

CleanupResult holds information about resources to be cleaned up

type StaleWorktree

type StaleWorktree struct {
	Path           string
	Branch         string
	HasUncommitted bool
	ExistsOnRemote bool
}

StaleWorktree represents a worktree that may need cleanup

type WorktreeStatus

type WorktreeStatus struct {
	Path          string
	Branch        string
	Task          string
	HasChanges    bool
	ChangedFiles  []string
	CommitsBehind int
	CommitsAhead  int
}

WorktreeStatus represents the status of a worktree

Jump to

Keyboard shortcuts

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