feat: withname and path as proper variables

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-08-02 11:40:11 +02:00
parent c11baae1ba
commit ec1fdf267f
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -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)