csm-data tdl-load-files¶
Description
Use csm-data to query a twingraph and loads all the data from it
Command
csm-data api tdl-load-files --dir $CSM_DATASET_ABSOLUTE_PATH --organization-id $CSM_ORGANIZATION_ID --workspace-id $CSM_WORKSPACE_ID
Defined Environment
Variable Name | Description |
---|---|
CSM_DATASET_ABSOLUTE_PATH | Target folder in which to write the resulting CSV files |
CSM_API_URL | The URL to a Cosmo Tech API instance |
CSM_ORGANIZATION_ID | An organization id for the Cosmo Tech API |
CSM_WORKSPACE_ID | A workspace id for the Cosmo Tech API |
CSM_SCENARIO_ID | A scenario id for the Cosmo Tech API |
CSM_RUNNER_ID | A runner id for the Cosmo Tech API |
Will be passed all system Environment Variables
as well as the defined Environment
csm-data tdl-load-files json file
{
"id":"csm-data tdl-load-files",
"command":"csm-data",
"arguments":[
"api",
"tdl-load-files",
"--dir",
"$CSM_DATASET_ABSOLUTE_PATH",
"--organization-id",
"$CSM_ORGANIZATION_ID",
"--workspace-id",
"$CSM_WORKSPACE_ID"
],
"environment":{
"CSM_DATASET_ABSOLUTE_PATH":{
"description":"Target folder in which to write the resulting CSV files"
},
"CSM_API_URL":{
"description":"The URL to a Cosmo Tech API instance"
},
"CSM_ORGANIZATION_ID":{
"description":"An organization id for the Cosmo Tech API"
},
"CSM_WORKSPACE_ID":{
"description":"A workspace id for the Cosmo Tech API"
},
"CSM_SCENARIO_ID":{
"description":"A scenario id for the Cosmo Tech API",
"optional":true
},
"CSM_RUNNER_ID":{
"description":"A runner id for the Cosmo Tech API",
"optional":true
}
},
"description":"Use csm-data to query a twingraph and loads all the data from it",
"useSystemEnvironment":true
}