feat: v1.1.7

This commit is contained in:
2026-01-23 00:06:10 +08:00
parent f8ec8a7e2e
commit 41f1eeeb9e
3 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View File

@@ -1221,7 +1221,7 @@ dependencies = [
[[package]]
name = "runrs"
version = "1.1.6"
version = "1.1.7"
dependencies = [
"argh",
"reqwest",

View File

@@ -1,6 +1,6 @@
[package]
name = "runrs"
version = "1.1.6"
version = "1.1.7"
edition = "2018"
license = "MIT/Apache-2.0"
description = "A Tool for Run Rust Scripts"

View File

@@ -30,8 +30,8 @@ struct RunScriptArgs {
#[argh(switch, short = 'i')]
install: bool,
/// update listed scripts
#[argh(option)]
update_listed_scripts: Option<bool>,
#[argh(switch)]
update_listed_scripts: bool,
/// script repo
#[argh(option, short = 'R')]
script_repo: Option<String>,
@@ -65,7 +65,7 @@ fn main() {
list::list_scripts(
&rs_args.script_repo,
rs_args.arguments.first(),
rs_args.update_listed_scripts.unwrap_or(false),
rs_args.update_listed_scripts,
);
return;
}