Skip to main content

Module root

Module root 

Source
Expand description

The root help: vitrify -h and vitrify --help.

clap lists subcommands under one heading, so the root command renders through TEMPLATE and these texts instead: the short variants for -h, the long variants for --help. The command lists name every command path once; tests/cli_help.rs holds that.

Constants§

ABOUT
The one-line description, also the root command’s about.
AFTER_LONG
vitrify --help, after the options.
AFTER_SHORT
vitrify -h, after the options.
BEFORE_LONG
vitrify --help, before the usage line.
BEFORE_SHORT
vitrify -h, before the usage line.
TEMPLATE
The root help template, shared by -h and --help; the parts that differ come from before_help/before_long_help and after_help/after_long_help.