cli

package
v0.0.0-...-f017057 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 34 Imported by: 0

Documentation

Overview

Package cli is the command-line surface: it parses argv, resolves the config and runtime, and dispatches to the box engine and scaffolder. The routing: bare `coop` prints help (running an agent is explicit), `coop <agent>` runs a named agent, known subcommands run their command, and an unrecognized command is an error — raw commands run in the box explicitly, via `coop run -- <cmd>`.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is the tool version, reported by `coop version`. Defaults to "dev" and is overridden at build time via -ldflags (GoReleaser and the Makefile).

Functions

func Main

func Main(argv []string) int

Main is the process entry point. It returns the exit code to pass to os.Exit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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