cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is set at build time via -ldflags "-X github.com/sauravpanda/bonsai/cmd.Version=vX.Y.Z".

Functions

func AddedWorktrees

func AddedWorktrees(worktrees []*git.Worktree) []*git.Worktree

AddedWorktrees returns only the non-main worktrees in list order. The caller's index+1 is the display number shown by bonsai list.

func Execute

func Execute() error

Execute runs the root command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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