CLI を使い始める
workspace
@orchestor-inc/cli のコマンドリファレンスです。
ワークスペースの API 操作は workspaces を参照してください。
コマンド一覧
orc workspace current— Show the currently selected Workspace tenantorc workspace link— Bind a Workspace to the current directoryorc workspace unlink— Remove the Workspace binding from the current directoryorc workspace use— Set the default Workspace for future commands
orc workspace current
Show the currently selected Workspace tenant
構文
orc workspace current [flags]出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
ヘルプ
orc workspace current --helporc workspace link
Bind a Workspace to the current directory
構文
orc workspace link [id] [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
id | いいえ | Workspace id to bind to this directory |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
ヘルプ
orc workspace link --helporc workspace unlink
Remove the Workspace binding from the current directory
構文
orc workspace unlink [flags]出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
ヘルプ
orc workspace unlink --helporc workspace use
Set the default Workspace for future commands
構文
orc workspace use <id> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
id | はい | Workspace id to persist as the default tenant |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
ヘルプ
orc workspace use --help