cli

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: Apache-2.0

README

Out Plane CLI

Deploy and operate applications on Out Plane from your terminal.

Early. The command surface below is settled and will not change incompatibly, but not all of it is implemented yet. outplane schema always reports what this build actually does.

Install

macOS and Linux:

curl -fsSL https://outplane.com/install.sh | sh

Windows, macOS and Linux:

npm i -g outplane

Nothing else is needed. The CLI is a single native binary with no runtime dependency; the npm package is a delivery mechanism for that binary, not a JavaScript application.

Getting started

outplane login            # paste a token created in the console
outplane link checkout    # remember this directory's team and app
outplane status           # what the next command will act on, and why
outplane app list         # everything in the current team

For AI agents and CI

The whole command surface is machine-readable, with no authentication, no config file and no network call:

outplane schema                    # every command, flag, output field, error code
outplane schema deploy create      # just that subtree
outplane deploy create --help --json

Output is human-formatted on a terminal and JSON when piped. Streams are NDJSON. Data goes to stdout, everything else to stderr. Exit codes are a stable, append-only contract.

Destructive commands never prompt. They exit 4 and return the exact command to replay, so the approval gate lives in your harness rather than in a terminal the agent does not have.

In CI, set OUTPLANE_TOKEN and skip the login step entirely.

Documentation

https://docs.outplane.com/cli

Contributing

Read CONTRIBUTING.md first. It explains the single-source-of-truth command registry, the layering, and the invariants that are not negotiable.

License

Apache-2.0. Copyright 2026 Out Plane LLC.

Directories

Path Synopsis
cmd
outplane command
Command outplane is the Out Plane command line interface.
Command outplane is the Out Plane command line interface.
internal
api
Package api is the only package that speaks HTTP to the Out Plane API.
Package api is the only package that speaks HTTP to the Out Plane API.
cli
Package cli assembles everything a command needs to run.
Package cli assembles everything a command needs to run.
clierr
Package clierr defines the CLI's error type.
Package clierr defines the CLI's error type.
commands
Package commands holds the implementations behind the declared commands.
Package commands holds the implementations behind the declared commands.
config
Package config resolves everything the CLI needs to know before it can make a request: which API to talk to, which credential to use, and which team and application are in play.
Package config resolves everything the CLI needs to know before it can make a request: which API to talk to, which credential to use, and which team and application are in play.
core
Package core holds the domain operations the CLI performs.
Package core holds the domain operations the CLI performs.
envfile
Package envfile reads and writes the .env format.
Package envfile reads and writes the .env format.
execctx
Package execctx answers one question: who is running this command, and what can they see?
Package execctx answers one question: who is running this command, and what can they see?
help
Package help renders a command's help text.
Package help renders a command's help text.
install
Package install answers one question about the running binary: how it got here, and therefore what would replace it with a newer one.
Package install answers one question about the running binary: how it got here, and therefore what would replace it with a newer one.
output
Package output renders results and errors.
Package output renders results and errors.
registry
Package registry is the single source of truth for the Out Plane CLI's command surface.
Package registry is the single source of truth for the Out Plane CLI's command surface.
schema
Package schema turns the command registry into a machine-readable document.
Package schema turns the command registry into a machine-readable document.

Jump to

Keyboard shortcuts

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