Skip to main content
Early Access - The Dcycle CLI is currently available for enterprise customers. Contact us to learn more about access.

What is the Dcycle CLI?

The Dcycle CLI (dc) is a command-line tool that allows you to interact with Dcycle’s carbon accounting platform directly from your terminal. It’s designed for:
  • Bulk operations: Upload large datasets via CSV files
  • Automation: Integrate Dcycle into your CI/CD pipelines and scripts
  • Power users: Quick access to data without navigating the web interface
  • Data management: Export, filter, and manage your sustainability data programmatically

Key Features

Organization Management

List, search, and switch between organizations. View organizational hierarchy and member access.

Asset Management

Manage facilities, vehicles, and logistic hubs. Bulk upload via CSV templates.

Emissions Data

Work with employee commute, business travel, invoices, purchases, and shipments.

Logistics Integration

Upload transport requests, fuel recharges, and generate emissions reports.

Quick Reference

Core Commands

CommandDescription
dc auth loginAuthenticate with Dcycle
dc auth statusView current session info
dc org listList accessible organizations
dc org set <id>Set active organization

Data Commands

CommandDescription
dc facility listList facilities
dc vehicle listList fleet vehicles
dc employee listList employee commute data
dc invoice listList energy invoices
dc purchase listList purchases

Logistics Commands

CommandDescription
dc logistics requests listList transport requests
dc logistics recharges listList fuel recharges
dc logistics uploadUpload CSV data

Output Formats

The CLI supports multiple output formats:
# Default: Rich table format (human-readable)
dc vehicle list

# JSON format (for scripting)
dc vehicle list --format json

# Pipe to other tools
dc vehicle list --format json | jq '.[] | .plate'

Getting Help

Every command supports the --help flag:
dc --help              # Show all commands
dc org --help          # Show organization commands
dc vehicle list --help # Show list options and filters

Next Steps