-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: include #9
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking all good besides the 2 formatting issues
src/opts.rs
Outdated
@@ -11,6 +11,15 @@ pub struct Opts { | |||
#[clap(short, long)] | |||
pub template: PathBuf, | |||
|
|||
/// This flag tells the command to parse all templates found in the same | |||
/// path where the given template is located. | |||
#[clap(short, long, visible_alias="inherit")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#[clap(short, long, visible_alias="inherit")] | |
#[clap(short, long, visible_alias = "inherit")] |
src/opts.rs
Outdated
pub include: bool, | ||
|
||
/// Option to define a different path from which search and parse templates. | ||
#[clap(long, visible_alias="inherit-path")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#[clap(long, visible_alias="inherit-path")] | |
#[clap(long, visible_alias = "inherit-path")] |
9ceca91
to
9bc1f67
Compare
Hi @chevdor . I have applied the requested updates. |
New branch with (just)
include
feature (from #7).