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

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

arctl completion zsh

Page as Markdown

zsh 用の自動補完スクリプトを生成します

zsh シェル用の自動補完スクリプトを生成します。

ご使用の環境でシェル補完がまだ有効になっていない場合は、有効にする必要があります。次のコマンドを一度実行できます。

echo "autoload -U compinit; compinit" >> ~/.zshrc

現在のシェルセッションで補完を読み込むには、次のコマンドを実行します。

source <(arctl completion zsh)

新しいセッションごとに補完を読み込むには、次のコマンドを一度実行します。

Linux:

arctl completion zsh > "${fpath[1]}/_arctl"

macOS:

arctl completion zsh > $(brew --prefix)/share/zsh/site-functions/_arctl

この設定を有効にするには、新しいシェルを開始する必要があります。

使用方法

arctl completion zsh [flags]

コマンド固有のフラグ

--no-descriptions: disable completion descriptions.

グローバルフラグ

-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).