cmd

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package cmd implements the CLI commands for koh.

Koh is a tool for managing git worktrees with automatic tmux session setup. It provides commands to create, list, and clean up worktrees with pre-configured development environments.

The main commands are:

  • new: Create a new worktree with a tmux session
  • switch: Switch to an existing worktree's tmux session
  • cleanup: Remove a worktree and close its tmux session
  • list: Display all koh-managed worktrees
  • init: Interactive configuration wizard
  • config: Display current configuration

Each command is implemented in its own file (new.go, switch.go, cleanup.go, etc.).

Index

Constants

This section is empty.

Variables

View Source
var Version = "0.1.8"

Version is the current version of koh This can be overridden at build time using ldflags: go build -ldflags="-X github.com/bshakr/koh/cmd.Version=v1.0.0"

Functions

func Execute

func Execute()

Execute runs the root command and handles any errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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