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

Overview

dcy ecovadis operates the EcoVadis module: it checks whether each document of an EcoVadis project would be accepted, manages the project’s questionnaire and the organization’s past assessments. The organization needs the EcoVadis plan (ask a Dcycle admin to enable it). Without it every command answers 403 ECOVADIS_NOT_ENABLED, which the CLI reports as “EcoVadis is not enabled for this organization”.
Commands marked cost run the EcoVadis agent / an LLM over the project’s documents and consume tokens. They show a warning and ask for confirmation; pass --yes to skip it (required in scripts, where there is no terminal). Prefer a dev environment for tests.
All commands take --org <id> to override the active organization and respect --format json. The MCP server exposes the read-only subset as the get_ecovadis_* and list_ecovadis_* tools.

Available Commands


Document Checks

Statuses are accepted, at_risk, rejected, pending and not_applicable (--status is case-insensitive and anything else is an error). --json also returns the ecovadis_types you can pass to set-type.
--reason is required to set an outcome. exclude keeps the files in the project but removes them from the checks and from the suggested answers that cite them; include does not restore the dropped citations. If none of the file IDs changed state (not in the project, or already excluded/included) the command prints the result and exits with an error; if only some did, it warns on stderr.

Questionnaire

--mode create (default) answers 409 when there is something to lose (a custom questionnaire already exists, or the standard one has answers); --mode replace overwrites it and discards the answers. The --mode create 409 messages tell you to use --mode replace. --language (questionnaire preview and generate) is optional: unset, the API uses English texts (en). The questionnaire commands and answers list fail with a clear error if the ID is not an EcoVadis project. --source is auto (latest parsed questionnaire, else the catalog), previous_assessment or catalog.

Previous Assessments

They belong to the organization, not to a project.

Answers

With --json, answers list returns {items, total, page, size}. Themes for --category are lowercase: general, environment, labor_human_rights, ethics, sustainable_procurement.

Demo Flow

Create the organization, enable the EcoVadis plan on it and add the members from the app (the CLI does not do that). Then, with the organization active (dcy org set <org-id>), run it from the terminal. This runs the LLM over the uploaded files, so use a dev environment:

Releasing the CLI

dcy is built from dc-go/ with GoReleaser. A release is a dc-go/vX.Y.Z tag on a commit already in main; binaries are published to Dcycle-by-WUM/dcy-releases and installed with Homebrew (brew upgrade dcy). New commands reach users only after that release.