feat: withname and path as proper variables
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")
|
||||
.about("init bootstraps a repository from a template")
|
||||
.arg(repo_url)
|
||||
.arg(clap::Arg::new("name"))
|
||||
.arg(clap::Arg::new("path"))
|
||||
.arg(clap::Arg::new("name").long("name"))
|
||||
.arg(clap::Arg::new("path").long("path"))
|
||||
.arg(clap::Arg::new("value").short('v').long("value"));
|
||||
|
||||
root_cmd.subcommand(execute_cmd)
|
||||
|
Loading…
Reference in New Issue
Block a user