CLI CheatsheetΒΆ
df
Dfetch CLI Cheatsheet
Vendor dependencies without the pain ·
dfetch.yaml found automatically
subcommand
--flag
<arg>
Foundational
core workflow · daily use
dfetch init
Create a new
dfetch.yaml manifestdfetch add <url>
Add a dependency, auto-fill defaults
dfetch add -i <url>
Add interactively, step-by-step wizard
dfetch import
Migrate from git submodules / SVN externals
dfetch check [project]
Show dependencies with newer versions available
dfetch update [-f] [project]
Fetch / update one or all dependencies
Utilities
maintenance · setup · validation
dfetch freeze
Pin all dependencies to currently fetched version
dfetch environment
Verify VCS tools and environment setup
dfetch validate
Validate the manifest without fetching
Patching
local changes · upstream sync
dfetch diff [project]
Capture local changes as a patch file
dfetch update-patch [project]
Re-apply patches after upstream version bump
dfetch format-patch [project]
Export contributor-ready unified diff
CI / CD Integration
reports · sbom · security
dfetch check --jenkins-json
Jenkins-compatible JSON report
dfetch check --sarif
SARIF (GitHub Advanced Security etc.)
dfetch check --code-climate
Code Climate / GitLab report
dfetch report
Print a dependency inventory list
dfetch report -t sbom
Generate a Software Bill of Materials