Early Access - The Dcycle CLI is currently available for enterprise customers.
Contact us to learn more about access.
Overview
Admin commands provide low-level operations for triggering recalculations and inserting energy data directly. Unlike most CLI commands, admin operations take organization IDs as positional arguments rather than using--org.
Available Commands
Recalculate Scope 3 T&D
Trigger a backend task to recalculate Scope 3 Transmission & Distribution data for one or more organizations:Flags
Examples
Recalculate Waste Transport
Re-split waste emissions into management vs transport components for one or more organizations. The backend finds waste records where the split needs recalculating and emits EventBridge events to trigger the recalculation pipeline:Flags
Examples
Energy Records
Insert or update energy records directly in the energy table, bypassing the normal calculation flow. Values must be in kWh.Inline Mode (Single Item)
electricity, heat, vehicle_consumption.
Batch Mode (CSV File)
Flags
CSV Format
The CSV file must have a header row with these required columns:items.csv
- Maximum 500 rows per file
total_kwhmust be non-negative- UTF-8 BOM is automatically stripped (Excel on Windows)
Examples
Typical Workflows
Recalculate After Data Migration
Bulk Energy Data Fix
Next Steps
Waste Water
Recalculate waste water treatment emissions
Invoices
Manage energy invoices
Organizations
Find organization IDs
Configuration
Set up environments and API keys