Aller au contenu

Options

Ce contenu n’est pas encore disponible dans votre langue.

The exact list for a command is always available with cvwonder <command> --help. The CLI page shows the output of cvwonder --help.

These options are accepted by every command.

Option Short Description Default
--input -i Input file in YAML format. With generate, a directory enables bulk mode. cv.yml
--output -o Output directory. generated/
--theme -t Name of the theme. default
--format -f Export format: html or pdf. html
--log-level Verbosity: error, warn, info, debug or trace. info
--quiet Print only errors and the final result. Cannot be combined with --log-level or --debug. false
--debug -d Deprecated. Alias of --log-level debug; prints a deprecation notice on stderr. false
  • At the default info level, commands print a branded header (title, version and one line per setting), one line per step (✓ success, ! warning, ✗ failure) and the result. A step that performs work, such as parsing or rendering, ends with its duration (148ms, 1.9s, 1m05s); lines that only announce a state, such as the serve listening address, carry none. Timestamped diagnostic lines (15:04:05 DBG component message key=value) appear only at debug and trace.
  • A successful single-file generate ends with a footer: the total time, the path of each produced file and the cvwonder serve --watch command to preview it. The footer is not printed in bulk mode, after a failure or with --quiet.
  • --quiet hides the header, the steps and the footer. Errors, the final result (the validation outcome, the bulk generation report) and the exit status are unchanged.
  • An unknown --log-level value fails before any work is done and lists the accepted levels.

cvwonder decides once per output stream whether to decorate it. Output is interactive when the stream is a terminal, NO_COLOR is unset and CI is unset. Interactive output uses the signature color palette (truecolor, downgraded to 256 or 16 colors depending on the terminal), a spinner on steps that take more than a fraction of a second, a celebratory emoji on the footer and clickable file links on terminals that support them.

Everything else is plain: redirected or piped output, NO_COLOR=1, or CI=true. Plain output contains no escape sequences, spinner, emoji or hyperlinks, but keeps the same markers, durations and footer as text, so CI logs stay readable and carry timings.

Command kind stdout stderr
generate, serve, validate, init, `themes install create verify
version, validate show-schema, themes list Only the payload (pipe-safe) Everything else: diagnostics, notices, errors

For example, cvwonder validate show-schema | jq . always receives clean JSON, even with --log-level debug.

Option Description Default
--validate Validate the YAML file before generating. false
--concurrency Number of parallel workers in bulk mode (ignored for a single file). 4
--port, -p Port used while generating the PDF format. 9889
--config Override a theme configuration key, repeatable. See Theme customization. none
Option Description Default
--port, -p Port of the local server. 3000
--watch, -w Regenerate and reload when the YAML file or the theme changes. false
--browser, -b Open the browser. false
--config Override a theme configuration key, repeatable. none
Option Description Default
--output-file File name of the generated CV YAML. cv.yml
--interactive Run the guided wizard instead of writing a scaffold. false
--resume With --interactive, reload an interrupted session from --output-file. false

validate uses the global --input option and has no option of its own. Its show-schema subcommand takes --info and --pretty (-p).

Command Option Description
themes install --force Switch the installed ref, discarding local changes.
themes create --name, -n Name of the new theme (default New Theme).