cmd

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package cmd parses command-line flags and dispatches to the appropriate mode.

Index

Constants

This section is empty.

Variables

View Source
var Version = devVersion()

Version is set at build time via -ldflags; falls back to a vcs-derived string.

Functions

This section is empty.

Types

type Config

type Config struct {
	NoLaunch    bool
	Verbose     bool
	ListOnly    bool
	Claude      bool
	Opencode    bool
	All         bool
	DangerMode  bool
	Recursive   bool
	PathFilter  string
	ClaudeCmd   string
	OpencodeCmd string
	Color       string // "auto" | "always" | "never"
	DebugLog    string // path to debug log file; empty = disabled
}

Config holds all parsed CLI state.

func Parse

func Parse(args []string) Config

Jump to

Keyboard shortcuts

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