docbuild CLI#
docbuild#
Main CLI tool for document operations.
docbuild [OPTIONS] COMMAND [ARGS]...
Options
- --version#
Show the version and exit.
- -v, --verbose#
Increase verbosity
- --dry-run#
Run without making changes
- --debug, --no-debug#
Enable debug mode. This will show more information about the process and the config files. If available, read the environment variable ‘DOCBUILD_DEBUG’.
- --app-config <APP_CONFIG_FILE>#
Filename to the application TOML config file. Overrides auto-search.
- --env-config <ENV_CONFIG_FILE>#
Filename to a environment’s TOML config file. If not set, docbuild uses the default filename ‘env.production.toml’ in the current working directory.
Environment variables
- DOCBUILD_DEBUG
Provide a default for
--debug
build#
CLI interface to build a document.
A document (or “doctype”) consists of [PRODUCT]/[DOCSET][@LIFECYCLES]/LANGS with the following properties:
Examples of the doctypes syntax:
docbuild build [OPTIONS] [DOCTYPES]...
Arguments
- DOCTYPES#
Optional argument(s)
c14n#
CLI interface to apply canonicals.
docbuild c14n [OPTIONS]
config#
CLI interface to shows config files how docbuild sees it.
docbuild config [OPTIONS] COMMAND [ARGS]...
app#
CLI interface to show the configuration of the application files.
docbuild config app [OPTIONS]
env#
CLI interface to showsthe configuration of the environment files.
docbuild config env [OPTIONS]
repo#
Manage repositories.
docbuild repo [OPTIONS] COMMAND [ARGS]...
clone#
Clone repositories.
Pass any of the following URLs to clone:
https://github.com/org/repo.git
docbuild repo clone [OPTIONS] [REPOS]...
Arguments
- REPOS#
Optional argument(s)
dir#
Show the directory path for permanent repositories.
docbuild repo dir [OPTIONS]
list#
List the available permanent repositories.
docbuild repo list [OPTIONS]
validate#
CLI interface to validate XML configuration files.
docbuild validate [OPTIONS] [XMLFILES]...
Arguments
- XMLFILES#
Optional argument(s)