CLI リファレンス
suya コマンドサーフェスの網羅的なインデックスです。下記の各グループは、プロローズ、例、
フラグの詳細を載せた /cli/* の下の独自のページにリンクしています。
グローバルフラグ
Section titled “グローバルフラグ”すべてのコマンドが受け付けます:
| フラグ | 意味 |
|---|---|
--host |
API エンドポイント(デフォルト https://subaya-dev.com) |
--token |
認証トークン、最も優先される認証情報 |
--json |
機械可読の JSON 出力 |
--pretty |
人間向けに整形された出力 |
-q, --quiet |
必須でない出力を抑制する |
-v, --verbose |
追加の診断出力 |
エージェントと CI の認証は SUBAYA_API_KEY 環境変数を使います —
認証と API キー を参照。.subaya/config.toml のローカル
プロジェクト設定がプロジェクト id を保持するため、ほとんどのコマンドは --project を
そこからデフォルトとします。
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”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 projectCLI: 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 stateCLI: 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)BitCrucible によるハードウェア検証。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]検索とナレッジ検索。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 timestamp計画アーティファクト。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)アーキテクチャと組み込みのピンプランニング。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 repo要件。CLI: req を参照。
suya req add # add a requirement to the projectsuya req list # list the project's requirementsreview
Section titled “review”コードと設計のレビュー。CLI: review を参照。
suya review create|show|list|comment|comments|reply|resolve|approve|request|reopen|close|rounds|diffdiagram
Section titled “diagram”Mermaid ダイアグラム、mmdc 経由で SVG/PNG にレンダリング。CLI: diagram を参照。
suya diagram create|update|show|list|export|render|deletedevice
Section titled “device”デバイスカタログ。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”セッションポッドにアタッチして解放する。CLI: session を参照。
suya attach [--console|--no-console] # attach to your session pod (reconnects)suya detach # release the session pod for reapingmaintenance
Section titled “maintenance”トップレベルのハウスキーピングコマンド。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