pub const SECTIONS: [&str; 10];Expand description
The sections a template may name, and nothing else.
| section | content |
|---|---|
about | before_help, the version banner, and the description |
usage | the Usage: synopsis, however many lines it takes |
commands | the subcommand list, or the flattened bodies under flatten_help |
args | every argument group, each under its heading |
flags | this command’s flag groups, then the globals it inherits |
grouped_args | arguments with a declared help heading |
ungrouped_args | arguments under the default Arguments heading |
grouped_flags | flags with a declared help heading |
ungrouped_flags | flags under Flags, plus inherited global flags |
after_help | examples, after_help, and the author/license footer on a long page |