cli

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 48 Imported by: 0

Documentation

Overview

Package cli implements the portable Ridu command-line interface behind the thin cmd/ridu entry point.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, args []string, stdout, stderr io.Writer, options Options) int

Run executes one CLI invocation and returns its process exit code.

Types

type Options

type Options struct {
	WorkingDirectory     string
	Version              string
	FrameworkVersion     string
	Stdin                io.Reader
	Interactive          bool
	Accessible           bool
	NewProjectResultFile string
	// CodingAgent is the coding agent detected in the environment that runs the
	// CLI. It replaces the Codex default when a command receives no agent.
	CodingAgent agentdocs.Selection
}

Options supplies process-owned state to a CLI run.

Jump to

Keyboard shortcuts

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