-
First-time I'm wondering if it is possible (or perhaps a useful feature) to be able to define separate E.g., in my case I'd like to be able to include This is currently what I have: #[derive(Parser)]
#[command(
author = "My Name <[email protected]>",
version = "0.1.0",
about = "Brief description",
long_about = None,
help_template = "\
{before-help}{name} {version}
{about-with-newline}
{usage-heading} {usage}
{all-args}
Author: {author-with-newline}{after-help}
"
)] Displaying Is this possible already, or am I asking for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Could you use What I'm hoping to do is to decouple the help logic from the
So with that in mind and with the existing extension points the template supports, i would be inclined to not have a long vs short template. |
Beta Was this translation helpful? Give feedback.
Could you use
before_help
/before_long_help
for this?What I'm hoping to do is to decouple the help logic from the
Command
to allow forSo with that in mind and with the existing extension points the template supports, i would be inclined to not have a long vs short template.