Usage:

Arguments:

<DEP_SPEC>

.. List of dependencies to add in the format "name[@version]"

Options:

--dry-run

Print the changes that would be made without actually making them

-v, --verbose...

Use verbose output

-s, --silent

Silence all output

-L, --log-level <LOG_LEVEL>

Set the log level

-h, --help

Print help (see a summary with '-h')

-V, --version

Print version

Manifest Options:

--manisfest-path <PATH>

Path to the manifest file

Package Selection:

-p, --package <SPEC>

Package to perform action on

Source:

--path <PATH>

Local path to the package

--git <URI>

Git URI for the package

--branch <BRANCH>

The branch to use

--tag <TAG>

The tag to use

--rev <REV>

The specific revision to use

--ipfs <CID>

IPFS CID for the package

Section:

--contract-dep

Treats dependency as contract dependencies

--salt <SALT>

Salt value for contract deployment

--offline

Offline mode.

Prevents Forc from using the network when managing dependencies.

--ipfs-node <IPFS_NODE>

The IPFS Node to use for fetching IPFS sources.

Possible values: FUEL, PUBLIC, LOCAL, <GATEWAY_URL>

EXAMPLES:

Add a dependencies

forc add [@]

Add a contract dependency

forc add [@] --contract-dep

Dry run

forc add [@] --dry-run