Shared argument parsing and report rendering helpers used by
mix zeal.docs.
This module is not the primary public entrypoint of the package. The
recommended interface is the Mix task made available when zeal_docsets
is added as a development dependency to a project.
Summary
Functions
Returns the default Zeal docsets path for the current platform.
Returns the process exit code for a run result.
Parses CLI arguments into the project path, Zeal path, and options.
Prints a human-readable execution report.
Runs the docset generation pipeline and returns a structured result.
Functions
@spec default_zeal_path() :: Path.t()
Returns the default Zeal docsets path for the current platform.
@spec exit_code(ZealDocsets.Runner.run_result()) :: 0 | 1
Returns the process exit code for a run result.
Parses CLI arguments into the project path, Zeal path, and options.
@spec print_report(ZealDocsets.Runner.run_result()) :: :ok
Prints a human-readable execution report.
The report includes the execution settings, the build summary, an optional note about docsets without custom icons, and any package-level failures.
@spec run(Path.t(), Path.t(), keyword()) :: ZealDocsets.Runner.run_result()
Runs the docset generation pipeline and returns a structured result.