Manage IICS folders. Folders organise assets within a project.
iics folder <subcommand> [flags]| Subcommand | Description |
|---|---|
create |
Create a new folder |
update |
Update a folder |
delete |
Delete a folder |
| Flag | Type | Required | Description |
|---|---|---|---|
--name |
string | yes | Folder name |
--description |
string | Folder description | |
--project-id |
string | Parent project ID (mutually exclusive with --project-name) |
|
--project-name |
string | Parent project name (mutually exclusive with --project-id) |
All global flags apply.
# Create folder using project ID
iics folder create --name "Staging" --project-id <project-id>
# Create folder using project name
iics folder create --name "Staging" --project-name "Finance ETL"
# With description
iics folder create --name "Staging" --project-name "Finance ETL" \
--description "Staging area for raw data loads"# Create folder using project ID
iics folder create --name "Staging" --project-id <project-id>
# Create folder using project name
iics folder create --name "Staging" --project-name "Finance ETL"
# With description
iics folder create --name "Staging" --project-name "Finance ETL" `
--description "Staging area for raw data loads"| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string | Folder ID | |
--name |
string | New folder name | |
--description |
string | New description | |
--project-id |
string | Parent project ID | |
--project-name |
string | Parent project name | |
--folder-name |
string | Current folder name (use with --project-name to identify) |
All global flags apply.
# Update by folder ID
iics folder update --id <folder-id> --name "Production"
# Update by project and folder name
iics folder update --project-name "Finance ETL" --folder-name "Staging" \
--name "Prod" --description "Production-ready pipelines"# Update by folder ID
iics folder update --id <folder-id> --name "Production"
# Update by project and folder name
iics folder update --project-name "Finance ETL" --folder-name "Staging" `
--name "Prod" --description "Production-ready pipelines"Delete a folder. Prompts for confirmation unless --yes is given.
| Flag | Short | Type | Required | Description |
|---|---|---|---|---|
--id |
string | yes | Folder ID | |
--yes |
-y |
bool | Skip confirmation prompt |
All global flags apply.
iics folder delete --id <folder-id>
# Non-interactive
iics folder delete --id <folder-id> --yesiics folder delete --id <folder-id>
# Non-interactive
iics folder delete --id <folder-id> --yes