Skip to main content

dvc repo

Manage repository configuration.

dvc repo init

Create the repo configuration file. This will open a browser window.

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

FLAGS
--org=<value> The name or ID of the org to sign into

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 the repo configuration file. This will open a browser window.

See code: src/commands/repo/init.ts