CLI Overview

The Trellis command-line interface — your primary operational surface for repository management and automation.

Installation

npm install -g trellis
trellis -h

Philosophy

The CLI is the fastest way to initialize repos, inspect history, create milestones, diff/merge work, and script automation around the op stream. Every operation that can be done programmatically can be done from the CLI.

Global Options

trellis [command] --help    # Show help for any command
trellis --version           # Show version
trellis --path <dir>        # Specify repo path (defaults to cwd)

Command Groups

GroupPurpose
Setupinit, import, export, watch
Workingstatus, log, files, branch
Historymilestone, checkpoint
Diffdiff, merge, parse, sdiff
Identityidentity
Gardengarden list, garden search, garden revive
Issuesissue create, issue start, issue close, ...
Syncsync status, sync reconcile
Entityentity create, entity get, entity list
Querydb query, ask
Systemontology

See the full command reference for details on every command.