cli

package
v1.0.4 Latest Latest
Warning

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

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

Documentation

Overview

Package cli provides the main CLI orchestration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg *Config) error

Run executes the main workflow.

Types

type Config

type Config struct {
	Tag          string
	Instructions string
	Output       string
	Model        string
	Version      string
	NoConfirm    bool
	NoFooter     bool
	DryRun       bool
	Verbose      bool
}

Config holds CLI configuration.

func ParseArgs

func ParseArgs(version string, args []string) (*Config, error)

ParseArgs parses command-line arguments. Returns (nil, nil) when --version is requested (caller should print version and exit).

Jump to

Keyboard shortcuts

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