CLI reference
The exhaustive index of the suya command surface. Each group below links to its
own page under /cli/* for prose, examples, and flag detail.
Global flags
Section titled “Global flags”Every command accepts:
| Flag | Meaning |
|---|---|
--host |
API endpoint (default https://subaya-dev.com) |
--token |
Auth token, highest-precedence credential |
--json |
Machine-readable JSON output |
--pretty |
Human-formatted output |
-q, --quiet |
Suppress non-essential output |
-v, --verbose |
Extra diagnostic output |
Authentication for agents and CI uses the SUBAYA_API_KEY environment variable —
see Authentication & API keys. A local project config at
.subaya/config.toml holds the project id, so most commands default --project
from it.
See CLI: auth.
suya auth login [--no-browser] # OAuth (loopback + manual-code fallback)suya auth logout # log out and revoke the local tokensuya auth status # local auth status, no server callsuya auth whoami # call the API and print the resolved identityproject
Section titled “project”See CLI: project.
suya project create --name <n> --workspace <id> --type <fpga|embedded> [--slug <s>] [--device <id>]suya project init # alias of createsuya project list --workspace <id>suya project phase # get or set the current project phasesuya project show # defaults to the .subaya/config.toml projectSee CLI: repo.
suya repo create --installation <id> [--name <n>] [--project <id>]suya repo connect --installation <id> --owner <o> --repo <r> [--project <id>]suya repo status # connected repo + config stateSee CLI: sim.
suya sim run --tb <path> --top <module> [--project <id>] [--source <dir>] \ [--tool ryusim|verilator|icarus|questa|xsim|renode] [--tier S] \ [--wait] [--no-cache] [--arg <a>]...suya sim list # recent runssuya sim report <run-id> # status + results summarysuya sim logs <run-id> [--follow]suya sim rerun <run-id> [--wait]suya sim wave <run-id> # locate the waveform artifact (hand off to wf)Hardware validation via BitCrucible. See CLI: hw.
suya hw agent register --name <n>suya hw agent listsuya hw agent revoke <id>suya hw agent runsuya hw run --target <t> [--test-plan <file>]suya hw history [--project <id>] [--limit N]Retrieval and knowledge search. See CLI: rag.
suya rag search <query> [--scope curated|project:42]... [--top-k N] [--semantic-only]suya rag read <chunk-id> # full body of a curated chunksuya rag status # per-scope chunk counts + last ingest timestampPlanning artifacts. See CLI: plan.
suya plan docs listsuya plan docs show <id>suya plan docs approve <id> [--section <s>]suya plan items listsuya plan items show <id> # work-item treesuya plan diagrams ...suya plan session # prints how to open a planner session (suya attach)Architecture and embedded pin planning. See CLI: arch.
suya arch module add --name <n> [--project <id>] [--kind <k>] [--description <d>] [--parent <pid>]suya arch module list --project <id>suya arch pin-plan create (--mcu <part> | --board <name>) [--project <id>] [--name <n>]suya arch pin-plan list --project <id>suya arch pin-plan show --plan <pid>suya arch pin-plan review-doc --plan <pid>suya arch pin set --plan <pid> --pin <PA5> --signal <USART2_TX> [--af --mode --label]suya arch peripheral configure --plan <pid> --peripheral <USART2> [--mode --params <json>]suya arch clock set --plan <pid> ... # clock-tree node intentsuya arch validate --plan <pid> # structural validate (headless CubeMX authoritative)suya arch generate --plan <pid> # generate .ioc from pin-plansuya arch ioc commit # generate the plan's .ioc and commit to connected repoRequirements. See CLI: req.
suya req add # add a requirement to the projectsuya req list # list the project's requirementsreview
Section titled “review”Code and design reviews. See CLI: review.
suya review create|show|list|comment|comments|reply|resolve|approve|request|reopen|close|rounds|diffdiagram
Section titled “diagram”Mermaid diagrams, rendered via mmdc to SVG/PNG. See CLI: diagram.
suya diagram create|update|show|list|export|render|deletedevice
Section titled “device”Device catalog. See CLI: device.
suya device search [--type fpga|embedded]suya device show <id>suya device set <id> # assign a device to a projectsession
Section titled “session”Attach to and release your session pod. See CLI: session.
suya attach [--console|--no-console] # attach to your session pod (reconnects)suya detach # release the session pod for reapingmaintenance
Section titled “maintenance”Top-level housekeeping commands. See CLI: maintenance.
suya version # version metadatasuya update [--check] # upgrade to the latest releasesuya install [--skills] [--path <p>] [--force] # install Subaya integrationssuya completion <shell> # shell autocompletion