CLI-Referenz
Der vollständige Index der suya-Befehlsoberfläche. Jede Gruppe unten verweist auf
ihre eigene Seite unter /cli/* für Erläuterungen, Beispiele und Flag-Details.
Globale Flags
Abschnitt betitelt „Globale Flags“Jeder Befehl akzeptiert:
| Flag | Bedeutung |
|---|---|
--host |
API-Endpunkt (Standard https://subaya-dev.com) |
--token |
Authentifizierungs-Token, Anmeldedaten mit höchster Priorität |
--json |
Maschinenlesbare JSON-Ausgabe |
--pretty |
Für Menschen formatierte Ausgabe |
-q, --quiet |
Nicht wesentliche Ausgabe unterdrücken |
-v, --verbose |
Zusätzliche Diagnoseausgabe |
Die Authentifizierung für Agenten und CI verwendet die Umgebungsvariable
SUBAYA_API_KEY — siehe Authentifizierung & API-Schlüssel.
Eine lokale Projektkonfiguration unter .subaya/config.toml enthält die Projekt-ID,
sodass die meisten Befehle --project daraus als Standard übernehmen.
Siehe CLI: auth.
suya auth login [--no-browser] # OAuth (loopback, falling back to the device flow)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
Abschnitt betitelt „project“Siehe 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 projectSiehe 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 stateSiehe CLI: sim.
suya sim run --tb <path> --top <module> [--project <id>] [--source <dir>] \ [--tool ryusim|verilator|icarus|questa|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-Validierung über BitCrucible. Siehe 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 und Wissenssuche. Siehe 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 timestampPlanungsartefakte. Siehe 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)Architektur und Pin-Planung für Embedded. Siehe 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-plan rm --plan <pid> # delete the plan + its pins/peripherals/clockssuya arch pin set --plan <pid> --pin <PA5> --signal <USART2_TX> [--af --mode --label]suya arch pin rm --plan <pid> --pin <PA5> # free a pinsuya arch peripheral configure --plan <pid> --peripheral <USART2> [--mode --params <json>]suya arch peripheral rm --plan <pid> --peripheral <USART2>suya arch clock set --plan <pid> ... # clock-tree node intentsuya arch clock rm --plan <pid> --node <SYSCLK>suya arch validate --plan <pid> # structural validate (headless CubeMX authoritative)suya arch generate --plan <pid> [--wait] # enqueue a headless CubeMX run; --wait polls + prints the resolved .iocsuya arch generate-status --run <id> # poll a generate run and print its resolved .iocsuya arch ioc commit # generate the plan's .ioc and commit to connected repoAnforderungen. Siehe CLI: req.
suya req add --title <t> [--parent REQ-N] # add a requirementsuya req list [filters] [--pretty|--tree] # list (see filters below)suya req show REQ-N # show one requirementsuya req update REQ-N --status deferred # edit fields (>=1 required)suya req rm REQ-N [--yes] # hard delete (confirm + reference warning)suya req tag REQ-N --add console --rm old # cross-cutting tagssuya req link REQ-N --to work_item:42 --to test:tests/boot.rs::cold_bootsuya req coverage [--untested] # leaf reqs with no linked test (CI gate)suya req import --file specs.yaml # bulk upsert on keysuya req export --format yaml|csv|md # round-trip for review-by-diffsuya req baseline list | diff [<id>|latest] # snapshot at approval vs driftCode- und Design-Reviews. Siehe CLI: review.
suya review create|show|list|comment|comments|reply|resolve|approve|request|reopen|close|rounds|diffdiagram
Abschnitt betitelt „diagram“Mermaid-Diagramme, gerendert über mmdc zu SVG/PNG. Siehe CLI: diagram.
suya diagram create|update|show|list|export|render|deleteGerätekatalog. Siehe CLI: device.
suya device search [--type fpga|embedded]suya device show <id>suya device set <id> # assign a device to a projectsession
Abschnitt betitelt „session“An Ihren Session-Pod anhängen und ihn wieder freigeben. Siehe CLI: session.
suya attach [--console|--no-console] # attach to your session pod (reconnects)suya detach # release the session pod for reapingmaintenance
Abschnitt betitelt „maintenance“Übergeordnete Wartungsbefehle. Siehe 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