Skip to content

Repository files navigation

cli

The openOODA language CLI driver. Replaces the language surface of the legacy ooda binary. Forwards no work — every verb is in-process.

Install

curl -fsSL https://openooda.org/install.sh | bash

The installer places cli in ~/.openooda/bin/. oodac (the compiler) and ooda-mcp / ooda-lsp / opm (the operational drivers) must also be installed for full functionality.

Usage

cli build <file> [flags]      # compile a .oo file with oodac
cli run <file> [flags]        # compile and execute a .oo file
cli test <file> [--json]      # build and run a .oo test
cli fmt <file> [--check]      # reformat a .oo file in place
cli install [--to PATH]       # install the cli pack to a prefix
cli update                    # refresh stale binaries vs GitHub latest (sha256)
cli update --check            # report current vs latest, no writes
cli update --bootstrap        # full reinstall via install.sh (escape hatch)
cli upgrade                   # same as update
cli spec [file]               # show the language rule sheet
cli init [name]               # scaffold a new project layout
cli qa [--all]                # run the local qa suite
cli context [dir] [--json]    # list .oo files under a directory
cli fix <file> [--yes]        # auto-fix common compile errors
cli token <sub>               # LLM token telemetry (forwards to tui)
cli version                   # print cli version
cli help                      # print usage

Where each verb came from

cli is the trimmed surface of the legacy ooda binary. The full redistribution is documented in openOODA/audit/cli_split_2026_09_13.oot. Quick map:

Legacy ooda <sub> New home
build, run, test, fmt, install, update, upgrade, init, qa, context (file listing), fix, version, help cli <sub>
token <sub> cli token <sub> (forwards to tui --token <sub>)
opm, lsp, mcp, mcp-merge ooda <sub> (router unchanged)
eval, repl (dead) — use tui shell
bench cli test / cli qa (or make bench)
digest cli context
health cli qa (or ooda doctor)
gen opm gen <sub>
sandbox run tui /sandbox run (caps: mcp attenuate_capability)
swarm init|run tui /teamwork init|run
context --llm (dead) — LLMS.oot auto-loads in tui session start

Build from source

make build

The Polyrepo

cli is one of 14 repos in the openOODA polyrepo.

Repo Purpose
openOODA/openOODA Governance, RFCs, laws
openOODA/oodar Runtime substrate
openOODA/oodac Compiler
openOODA/std Standard library
openOODA/ooda Back-compat router
openOODA/cli This repo
openOODA/install How the toolchain lands
openOODA/opm Package manager
openOODA/catalog Public package catalog
openOODA/lsp Language server
openOODA/mcp MCP server, flight recording, and telemetry engine
openOODA/tui AI harness
openOODA/website Website source

License

Apache-2.0. See LICENSE for full text.

About

The openOODA language CLI driver — every verb in-process

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages