cli

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package cli implements the command-line interface for Ralph using Cobra.

This package defines all CLI commands (run, init, version) and their flags. It orchestrates the execution flow between TUI and Core components.

See specs/cli.md for detailed CLI specification.

Package cli implements the command-line interface for Ralph using Cobra.

This file implements the `ralph run` command for executing AI development loops.

See specs/cli.md for detailed CLI specification.

Package cli implements the command-line interface for Ralph using Cobra.

This file implements the `ralph version` command for displaying version information.

See specs/cli.md for detailed CLI specification.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute runs the root command and returns any error.

Types

type ExitError

type ExitError struct {
	Err  error
	Code int
}

ExitError carries an exit code that main can translate to the process exit status while still letting Cobra/normal control flow run deferred cleanup.

func (*ExitError) Error

func (e *ExitError) Error() string

func (*ExitError) Unwrap

func (e *ExitError) Unwrap() error

Jump to

Keyboard shortcuts

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