コンテンツにスキップ
これは最新の機能を備えた最新リリースですが、長期サポートは提供されません。サポートを継続するには、新しいリリースごとにアップグレードするか、四半期ごとの安定版リリースをご利用ください。

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

arctl apply

Page as Markdown

YAML ファイルから 1 つ以上のレジストリリソースを適用します。

YAML ファイル (または -f - による標準入力) から 1 つ以上のリソースドキュメントを読み取り、POST /v0/apply で適用します。

各リソースはアトミックに適用されます。サーバーはリソースごとのステータスを報告します。ベストエフォート方式で、リソースごとのエラーはバッチを中断せずに報告されます。

使用方法

arctl apply -f FILE [flags]

例:

arctl apply -f agent.yaml
arctl apply -f stack.yaml --dry-run
cat stack.yaml | arctl apply -f -

コマンド固有のフラグ

--dry-run: Validate and simulate without mutating state.
-f, --filename stringArray: YAML file to apply (repeatable; use - for stdin).

グローバルフラグ

-h, --help: Display help information for the command.
--registry-token string: Registry bearer token (defaults to value of ARCTL_API_TOKEN env var).
--registry-url string: Registry URL (overrides ARCTL_API_BASE_URL env var; defaults to http://localhost:12121).