Loading

format cli command

docs-builder format [options]
		

Fix common formatting issues (irregular spacing, trailing whitespace) across documentation files.

-p --path string
Documentation root. Defaults to cwd.
--[no-]check

Report files that need formatting without modifying them. Exits 1 when any file is out of format.

Default: false

--[no-]write

Apply formatting changes in place.

Default: false

-l --log-level enum

Minimum log level.

Values: trace, debug, information, warning, error, critical, none

Default: information

-c --config-source enum

Override the configuration source: local, remote

Values: local, remote, embedded

--[no-]skip-private-repositories
Skip cloning private repositories

Exactly one of --check or --write must be specified.