DCR-ADD(1)

NAME
dcr-add - Add a dependency to a DCR project

SYNOPSIS
dcr add <name> <source> [--branch <b>] [--tag <t>] [--rev <r>]

DESCRIPTION
Adds a dependency to the project.

SOURCES

user/repo
    GitHub shorthand.

github:user/repo
    Full GitHub repository.

gitlab:user/repo
    GitLab repository.

git:host.com/user/repo
    Generic git repository.

path:./path/to/lib
    Local path dependency.

<version>
    Version from registry.

OPTIONS

--branch <name>
    Use a specific branch.

--tag <name>
    Use a specific tag.

--rev <hash>
    Use a specific commit hash.

SEE ALSO
dcr(1), dcr-tree(1)