feat: v1.1.7
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -1221,7 +1221,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "runrs"
|
name = "runrs"
|
||||||
version = "1.1.6"
|
version = "1.1.7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"argh",
|
"argh",
|
||||||
"reqwest",
|
"reqwest",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "runrs"
|
name = "runrs"
|
||||||
version = "1.1.6"
|
version = "1.1.7"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
description = "A Tool for Run Rust Scripts"
|
description = "A Tool for Run Rust Scripts"
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ struct RunScriptArgs {
|
|||||||
#[argh(switch, short = 'i')]
|
#[argh(switch, short = 'i')]
|
||||||
install: bool,
|
install: bool,
|
||||||
/// update listed scripts
|
/// update listed scripts
|
||||||
#[argh(option)]
|
#[argh(switch)]
|
||||||
update_listed_scripts: Option<bool>,
|
update_listed_scripts: bool,
|
||||||
/// script repo
|
/// script repo
|
||||||
#[argh(option, short = 'R')]
|
#[argh(option, short = 'R')]
|
||||||
script_repo: Option<String>,
|
script_repo: Option<String>,
|
||||||
@@ -65,7 +65,7 @@ fn main() {
|
|||||||
list::list_scripts(
|
list::list_scripts(
|
||||||
&rs_args.script_repo,
|
&rs_args.script_repo,
|
||||||
rs_args.arguments.first(),
|
rs_args.arguments.first(),
|
||||||
rs_args.update_listed_scripts.unwrap_or(false),
|
rs_args.update_listed_scripts,
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user