Skip to main content

dvc environments

Create a new Environment for an existing Feature.

dvc environments create

Create a new Environment for an existing Feature.

USAGE
$ dvc environments create [--config-path <value>] [--auth-path <value>] [--repo-config-path <value>] [--client-id
<value>] [--client-secret <value>] [--project <value>] [--no-api] [--headless] [--key <value>] [--name <value>]
[--type development|staging|production|disaster_recovery] [--description <value>]

FLAGS
--description=<value> Description for the dashboard
--key=<value> Unique ID
--name=<value> Human readable name
--type=<option> The type of environment
<options: development|staging|production|disaster_recovery>

GLOBAL FLAGS
--auth-path=<value> Override the default location to look for an auth.yml file
--client-id=<value> Client ID to use for DevCycle API Authorization
--client-secret=<value> Client Secret to use for DevCycle API Authorization
--config-path=<value> Override the default location to look for the user.yml file
--headless Disable all interactive flows and format output for easy parsing.
--no-api Disable API-based enhancements for commands where authorization is optional. Suppresses
warnings about missing credentials.
--project=<value> Project key to use for the DevCycle API requests
--repo-config-path=<value> Override the default location to look for the repo config.yml file

DESCRIPTION
Create a new Environment for an existing Feature.

See code: src/commands/environments/create.ts

dvc environments get

Retrieve Environments from the management API

USAGE
$ dvc environments get [--config-path <value>] [--auth-path <value>] [--repo-config-path <value>] [--client-id
<value>] [--client-secret <value>] [--project <value>] [--no-api] [--headless] [--keys <value>]

FLAGS
--keys=<value> Comma-separated list of environment keys to fetch details for

GLOBAL FLAGS
--auth-path=<value> Override the default location to look for an auth.yml file
--client-id=<value> Client ID to use for DevCycle API Authorization
--client-secret=<value> Client Secret to use for DevCycle API Authorization
--config-path=<value> Override the default location to look for the user.yml file
--headless Disable all interactive flows and format output for easy parsing.
--no-api Disable API-based enhancements for commands where authorization is optional. Suppresses
warnings about missing credentials.
--project=<value> Project key to use for the DevCycle API requests
--repo-config-path=<value> Override the default location to look for the repo config.yml file

DESCRIPTION
Retrieve Environments from the management API

EXAMPLES
$ dvc environments get

$ dvc environments get --keys=environment-one,environment-two

See code: src/commands/environments/get.ts

dvc environments list

USAGE
$ dvc environments list [--config-path <value>] [--auth-path <value>] [--repo-config-path <value>] [--client-id
<value>] [--client-secret <value>] [--project <value>] [--no-api] [--headless]

GLOBAL FLAGS
--auth-path=<value> Override the default location to look for an auth.yml file
--client-id=<value> Client ID to use for DevCycle API Authorization
--client-secret=<value> Client Secret to use for DevCycle API Authorization
--config-path=<value> Override the default location to look for the user.yml file
--headless Disable all interactive flows and format output for easy parsing.
--no-api Disable API-based enhancements for commands where authorization is optional. Suppresses
warnings about missing credentials.
--project=<value> Project key to use for the DevCycle API requests
--repo-config-path=<value> Override the default location to look for the repo config.yml file

ALIASES
$ dvc environments ls

See code: src/commands/environments/list.ts

dvc environments ls

USAGE
$ dvc environments ls [--config-path <value>] [--auth-path <value>] [--repo-config-path <value>] [--client-id
<value>] [--client-secret <value>] [--project <value>] [--no-api] [--headless]

GLOBAL FLAGS
--auth-path=<value> Override the default location to look for an auth.yml file
--client-id=<value> Client ID to use for DevCycle API Authorization
--client-secret=<value> Client Secret to use for DevCycle API Authorization
--config-path=<value> Override the default location to look for the user.yml file
--headless Disable all interactive flows and format output for easy parsing.
--no-api Disable API-based enhancements for commands where authorization is optional. Suppresses
warnings about missing credentials.
--project=<value> Project key to use for the DevCycle API requests
--repo-config-path=<value> Override the default location to look for the repo config.yml file

ALIASES
$ dvc environments ls

dvc environments update [KEY]

Update a Environment.

USAGE
$ dvc environments update [KEY] [--config-path <value>] [--auth-path <value>] [--repo-config-path <value>] [--client-id
<value>] [--client-secret <value>] [--project <value>] [--no-api] [--headless] [--name <value>] [--key <value>]
[--type development|staging|production|disaster_recovery] [--description <value>]

FLAGS
--description=<value> Description for the environment
--key=<value> Unique ID
--name=<value> Human readable name
--type=<option> The type of environment
<options: development|staging|production|disaster_recovery>

GLOBAL FLAGS
--auth-path=<value> Override the default location to look for an auth.yml file
--client-id=<value> Client ID to use for DevCycle API Authorization
--client-secret=<value> Client Secret to use for DevCycle API Authorization
--config-path=<value> Override the default location to look for the user.yml file
--headless Disable all interactive flows and format output for easy parsing.
--no-api Disable API-based enhancements for commands where authorization is optional. Suppresses
warnings about missing credentials.
--project=<value> Project key to use for the DevCycle API requests
--repo-config-path=<value> Override the default location to look for the repo config.yml file

DESCRIPTION
Update a Environment.

See code: src/commands/environments/update.ts