# dcr add Add a dependency to `dcr.toml`. ## Usage ```bash dcr add [options] ``` ## Sources - `path:./path/to/lib`: Local directory. - `github:user/repo`: GitHub repository. - `gitlab:user/repo`: GitLab repository. - `git:host.com/user/repo`: Generic Git repository (HTTPS). - `https://...`: Full Git URL. ## Options - `--branch `: Use a specific branch. - `--tag `: Use a specific tag. - `--rev `: Use a specific commit hash. ## Examples ```bash dcr add my_lib path:./libs/my_lib dcr add cool_lib github:user/cool_lib dcr add shared_lib gitlab:org/shared --branch develop dcr add custom_lib git:git.internal.com/r/lib --tag v1.0.0 ```