diff cli command
docs-builder diff [options]
Verify every renamed or removed page in the current branch has a redirect entry.
-p--pathstring- Root of the documentation source. Defaults to cwd/docs.
-l--log-levelenum-
Minimum log level.
Values: trace, debug, information, warning, error, critical, none
Default:
information -c--config-sourceenum-
Override the configuration source: local, remote
Values: local, remote, embedded
--[no-]skip-private-repositories- Skip cloning private repositories
Compares the git diff of the working branch against the redirect file. Exits 1 if any moved or deleted page is missing a redirect entry. Run before merging to catch broken links early.