CLI を使い始める
projects
@orchestor-inc/cli のコマンドリファレンスです。
コマンド一覧
orc projects list— List projectsorc projects create— Create projectorc projects get— Get projectorc projects update— Update projectorc projects restore— Restore an archived projectorc projects archive— Archive projectorc projects rollup get— Get Project progress rollup
orc projects list
List projects
構文
orc projects list [flags]フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--workspace-id | string | いいえ | Filter by workspace ID (for multi-workspace users). |
--include-archived | string | いいえ | Include archived projects in the response.; enum: true|false |
--limit | number | いいえ | Maximum number of items to return |
--cursor | string | いいえ | Opaque cursor for the next page |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
互換エイリアス
orc project list
ヘルプ
orc projects list --helporc projects create
Create project
構文
orc projects create [flags]フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--idempotency-key | string | いいえ | Unique key for idempotent POST requests (24h TTL). If a request with the same key was already processed, the original response is returned without re-executing the operation. Reusing a key with a different request payload returns 409 idempotency_error. Use a UUID v4 or similar unique identifier. |
--project-key | string | いいえ | (required) URL-safe project identifier (must be unique within workspace). |
--name | string | いいえ | (required) Display name. |
--description | string | いいえ | Optional description. |
--workspace-id | string | いいえ | Workspace to create the project in (defaults to current). |
--initiative-id | string | いいえ | Optional parent Initiative ID in the same Workspace.; (use "null" or "reset" to clear) |
--milestone | string | いいえ | Body field: milestone; (JSON object, e.g. '{"custom_id":"x"}') |
--display-order | number | いいえ | Sort order in project lists. |
--color-token | string | いいえ | Visual identity color token (Q2.CQ shared design tokens).; enum: default|gray|brown|orange|yellow|green|blue|purple|pink|red |
--identity-kind | string | いいえ | Which kind of visual identity this project uses.; enum: color|initial|icon|emoji|image |
--icon-token | string | いいえ | Icon token reference (when identity_kind=icon).; (use "null" or "reset" to clear); max 64 chars |
--emoji | string | いいえ | Emoji glyph (when identity_kind=emoji).; (use "null" or "reset" to clear); max 32 chars |
--image-file-id | string | いいえ | Reference to uploaded image file (when identity_kind=image).; (use "null" or "reset" to clear) |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
互換エイリアス
orc project create
ヘルプ
orc projects create --helporc projects get
Get project
構文
orc projects get <key> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
key | はい | Project key (URL-safe identifier). |
フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--workspace-id | string | いいえ | Workspace context for the project key (required for organization-scoped credentials). |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
互換エイリアス
orc project get
ヘルプ
orc projects get --helporc projects update
Update project
構文
orc projects update <key> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
key | はい | Project key (URL-safe identifier). |
フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--workspace-id | string | いいえ | Workspace context override (rare; defaults to current). |
--name | string | いいえ | Project display name. |
--description | string | いいえ | Project description. |
--display-order | number | いいえ | Sort order in project lists. |
--visibility | string | いいえ | workspace — visible to all workspace members. private — visible only to project members.; enum: workspace|private |
--color-token | string | いいえ | Visual identity color token (Q2.CQ).; enum: default|gray|brown|orange|yellow|green|blue|purple|pink|red |
--identity-kind | string | いいえ | Which kind of visual identity this project uses.; enum: color|initial|icon|emoji|image |
--icon-token | string | いいえ | Body field: icon_token; (use "null" or "reset" to clear); max 64 chars |
--emoji | string | いいえ | Body field: emoji; (use "null" or "reset" to clear); max 32 chars |
--image-file-id | string | いいえ | Body field: image_file_id; (use "null" or "reset" to clear) |
--initiative-id | string | いいえ | Optional parent Initiative ID in the same Workspace.; (use "null" or "reset" to clear) |
--milestone | string | いいえ | Body field: milestone; (JSON object, e.g. '{"custom_id":"x"}') |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
互換エイリアス
orc project update
ヘルプ
orc projects update --helporc projects restore
Restore an archived project
構文
orc projects restore <key> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
key | はい | Project key (URL-safe identifier). |
フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--idempotency-key | string | いいえ | Unique key for idempotent POST requests (24h TTL). If a request with the same key was already processed, the original response is returned without re-executing the operation. Reusing a key with a different request payload returns 409 idempotency_error. Use a UUID v4 or similar unique identifier. |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
ヘルプ
orc projects restore --helporc projects archive
Archive project
構文
orc projects archive <key> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
key | はい | Project key (URL-safe identifier). |
フラグ
| フラグ | 型 | 必須 | 説明 |
|---|---|---|---|
--idempotency-key | string | いいえ | Unique key for idempotent POST requests (24h TTL). If a request with the same key was already processed, the original response is returned without re-executing the operation. Reusing a key with a different request payload returns 409 idempotency_error. Use a UUID v4 or similar unique identifier. |
--workspace-id | string | いいえ | Workspace containing the project to archive (required for organization-scoped credentials). |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
互換エイリアス
orc project archive
ヘルプ
orc projects archive --helporc projects rollup get
Get Project progress rollup
構文
orc projects rollup get <id> [flags]引数
| 引数 | 必須 | 説明 |
|---|---|---|
id | はい | Project ID or existing Project key. |
出力とリクエストの共通オプションはグローバルオプションを参照してください。このコマンドで使えるフラグは --help で確認できます。
ヘルプ
orc projects rollup get --help