Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: MIT Imports: 37 Imported by: 0

Documentation

Overview

`codemeld auth login` wiring: starts the OpenAI ChatGPT browser/device login flow and persists the resulting session under auth.openai-chatgpt only after upstream login succeeds, while refusing a ChatGPT login for the API-key-only `openai` provider.

`codemeld config check` validates settings layers without starting a session: it reads, applies the layer rules a launch would apply, and reports each layer's state. It writes nothing and changes no approval state.

Package cli wires the codemeld root command and dispatches --resume.

Command-line entry points for codemeld.

`codemeld sessions` read-only diagnostics: `doctor` reports a session's recorded errors/failures/anomalies grouped by a derived severity, `show` renders its records in order with tool-call arguments unescaped for display, `permissions` lists the prompts a human was shown with their decisions and the explicit revocation requests, `research` reports the objective web-research funnel the records support, and `summary` aggregates the durable execution records, permission path scopes, turns, and tokens. No subcommand writes, locks, or mutates the session in any way.

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) int

Run constructs the root command, executes it against args, and returns the process exit code. stdout and stderr are explicit so callers can capture output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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