dagster-cloud CLI reference
Superseded feature
The dagster-cloud CLI has been superseded by the dg CLI. While it is still available, we recommend using dg plus and dg api commands for new workflows. See the dg plus reference and dg api reference for details.
Custom configuration file path
Point the dagster-cloud CLI at an alternate config location by specifying the DAGSTER_CLOUD_CLI_CONFIG environment variable.
Environment variables and CLI options
Environment variables and CLI options can be used in place of or to override the CLI configuration file.
The priority of these items is as follows:
- CLI options - highest
- Environment variables
- CLI configuration - lowest
| Setting | Environment variable | CLI flag | CLI config value |
|---|---|---|---|
| Organization | DAGSTER_CLOUD_ORGANIZATION | --organization, -o | organization |
| Deployment | DAGSTER_CLOUD_DEPLOYMENT | --deployment, -d | default_deployment |
| User Token | DAGSTER_CLOUD_API_TOKEN | --user-token, -u | user_token |