Skip to main content

SECTIONS

Constant SECTIONS 

Source
pub const SECTIONS: [&str; 6];
Expand description

The sections a template may name, and nothing else.

sectioncontent
aboutbefore_help, the version banner, and the description
usagethe Usage: synopsis, however many lines it takes
commandsthe subcommand list, or the flattened bodies under flatten_help
argsevery argument group, each under its heading
flagsthis command’s flag groups, then the globals it inherits
after_helpexamples, after_help, and the author/license footer on a long page