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

Overview

The employee command tracks how employees travel to and from work, covering GHG Protocol Scope 3 Category 7 (Employee Commuting). Employees have commuting periods that define their transport mode, distance, and frequency.

Available Commands


List Employees

Examples

Flags


Show Employee Details

Examples

Flags


Create Employee

Create an employee with optional inline commuting period data.

Examples

Flags

Period Flags (optional — creates period if --transport is set)


Add Period to Employee

Add a commuting period to an existing employee.

Examples

Flags

Required: --transport, --start-date, --end-date. All period flags from create employee apply.

Import Employees from CSV

Bulk import employee commute periods from a CSV file.

Examples

Flags

CSV Columns

Required: employee_id, transport_type, start_date, end_date. Optional: total_km, weekly_travels, daily_trips, vehicle_size, fuel_type, renewable_energy, commuting_type, response_medium, situation, carpool.

Edit Employee

Update employee name, email, or situation.

Examples

Flags


Update Historic Periods

Bulk update employee historic periods from a CSV file.

Examples

Flags

CSV Columns

Required: employee_historic_id. At least one of: total_km, start_date, end_date.

Delete Employee

Examples

Flags


Common Options

All employee commands support: