Early Access - The Dcycle CLI is currently available for enterprise customers.
Contact us to learn more about access.
Overview
Waste water treatment records track water treatment processes and their associated greenhouse gas emissions. The CLI provides a recalculation command to trigger async emission calculations for records that don’t have computed values yet.Available Commands
| Command | Description |
|---|---|
dcy waste-water-treatments recalculate | Queue recalculation for WWT records without emissions |
Recalculate Emissions
Queue recalculation for waste water treatment records that don’t have calculated emissions yet. The backend sets each matched record to “loading” status and triggers async recalculation via EventBridge:Flags
| Flag | Short | Default | Description |
|---|---|---|---|
--facility | -f | — | Facility UUID (omit to recalculate all facilities in the org) |
--yes | -y | false | Skip confirmation prompt |
--dry-run | — | false | Show what would be executed without triggering |
--org | — | — | Organization ID override |
Examples
Typical Workflows
Recalculate After Data Changes
After updating waste water treatment data in the web interface, trigger recalculation from the CLI:Next Steps
Facilities
Manage physical locations
Invoices
Manage energy invoices for Scope 1 and 2 emissions
Own Workforce
Manage own workforce records
Custom Emission Factors
Upload organization-specific emission factors