mirror of
https://github.com/ouch-org/ouch.git
synced 2025-07-19 16:10:53 +00:00
Merge branch 'main' into main
This commit is contained in:
commit
98574002e1
@ -24,7 +24,8 @@ Categories Used:
|
|||||||
|
|
||||||
- Merge folders in decompression [\#798](https://github.com/ouch-org/ouch/pull/798) ([tommady](https://github.com/tommady))
|
- Merge folders in decompression [\#798](https://github.com/ouch-org/ouch/pull/798) ([tommady](https://github.com/tommady))
|
||||||
- Add `--no-smart-unpack` flag to decompression command to disable smart unpack [\#809](https://github.com/ouch-org/ouch/pull/809) ([talis-fb](https://github.com/talis-fb))
|
- Add `--no-smart-unpack` flag to decompression command to disable smart unpack [\#809](https://github.com/ouch-org/ouch/pull/809) ([talis-fb](https://github.com/talis-fb))
|
||||||
- Add aliases for comic book archives []() ([md9753](https://github.com/md9753))
|
- Provide Nushell completions (packages still need to install them) [\#827](https://github.com/ouch-org/ouch/pull/827) ([FrancescElies](https://github.com/FrancescElies))
|
||||||
|
- Add aliases for comic book archives [\#835](https://github.com/ouch-org/ouch/pull/835https://github.com/ouch-org/ouch/pull/835) ([md9753](https://github.com/md9753))
|
||||||
|
|
||||||
### Improvements
|
### Improvements
|
||||||
|
|
||||||
|
11
Cargo.lock
generated
11
Cargo.lock
generated
@ -394,6 +394,16 @@ dependencies = [
|
|||||||
"clap",
|
"clap",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "clap_complete_nushell"
|
||||||
|
version = "4.5.5"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "c6a8b1593457dfc2fe539002b795710d022dc62a65bf15023f039f9760c7b18a"
|
||||||
|
dependencies = [
|
||||||
|
"clap",
|
||||||
|
"clap_complete",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "clap_derive"
|
name = "clap_derive"
|
||||||
version = "4.5.28"
|
version = "4.5.28"
|
||||||
@ -1092,6 +1102,7 @@ dependencies = [
|
|||||||
"bzip3",
|
"bzip3",
|
||||||
"clap",
|
"clap",
|
||||||
"clap_complete",
|
"clap_complete",
|
||||||
|
"clap_complete_nushell",
|
||||||
"clap_mangen",
|
"clap_mangen",
|
||||||
"filetime_creation",
|
"filetime_creation",
|
||||||
"flate2",
|
"flate2",
|
||||||
|
@ -54,6 +54,7 @@ is_executable = "1.0.1"
|
|||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
clap = { version = "4.5.20", features = ["derive", "env", "string"] }
|
clap = { version = "4.5.20", features = ["derive", "env", "string"] }
|
||||||
clap_complete = "4.5.28"
|
clap_complete = "4.5.28"
|
||||||
|
clap_complete_nushell = "4.5.5"
|
||||||
clap_mangen = "0.2.24"
|
clap_mangen = "0.2.24"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
2
build.rs
2
build.rs
@ -19,6 +19,7 @@ use std::{
|
|||||||
|
|
||||||
use clap::{CommandFactory, ValueEnum};
|
use clap::{CommandFactory, ValueEnum};
|
||||||
use clap_complete::{generate_to, Shell};
|
use clap_complete::{generate_to, Shell};
|
||||||
|
use clap_complete_nushell::Nushell;
|
||||||
use clap_mangen::Man;
|
use clap_mangen::Man;
|
||||||
|
|
||||||
include!("src/cli/args.rs");
|
include!("src/cli/args.rs");
|
||||||
@ -45,5 +46,6 @@ fn main() {
|
|||||||
for shell in Shell::value_variants() {
|
for shell in Shell::value_variants() {
|
||||||
generate_to(*shell, cmd, "ouch", out).unwrap();
|
generate_to(*shell, cmd, "ouch", out).unwrap();
|
||||||
}
|
}
|
||||||
|
generate_to(Nushell, cmd, "ouch", out).unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user