cmd

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuiltBy = ""

BuiltBy is the builder.

View Source
var Commit = ""

Commit is the git commit hash.

View Source
var Date = ""

Date is the build date.

Log is the package-level logger instance.

View Source
var Version = "dev"

Version is the current version of the CLI.

Functions

func DetermineWorktreeType

func DetermineWorktreeType(input string) (worktree.WorktreeType, error)

DetermineWorktreeType determines the type of worktree based on the input Returns the worktree type and an error message if invalid.

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately.

func NewCompletionCommand added in v0.0.3

func NewCompletionCommand() *cobra.Command

NewCompletionCommand creates the completion command with install/uninstall subcommands.

func Root added in v0.0.4

func Root() *cobra.Command

export for cli doc generation.

func SanitizeBranchName

func SanitizeBranchName(name string) string

SanitizeBranchName is moved from types.go.

Types

This section is empty.

Jump to

Keyboard shortcuts

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