feat: withname and path as proper variables
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
c11baae1ba
commit
ec1fdf267f
@ -20,8 +20,8 @@ pub fn build_command(root_cmd: Command, _cli: CuddleCli) -> Command {
|
|||||||
let execute_cmd = Command::new("init")
|
let execute_cmd = Command::new("init")
|
||||||
.about("init bootstraps a repository from a template")
|
.about("init bootstraps a repository from a template")
|
||||||
.arg(repo_url)
|
.arg(repo_url)
|
||||||
.arg(clap::Arg::new("name"))
|
.arg(clap::Arg::new("name").long("name"))
|
||||||
.arg(clap::Arg::new("path"))
|
.arg(clap::Arg::new("path").long("path"))
|
||||||
.arg(clap::Arg::new("value").short('v').long("value"));
|
.arg(clap::Arg::new("value").short('v').long("value"));
|
||||||
|
|
||||||
root_cmd.subcommand(execute_cmd)
|
root_cmd.subcommand(execute_cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user