Skip to content

Commit

Permalink
upgrade to clap 4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mothsART committed Oct 7, 2023
1 parent 2e10974 commit bab93ab
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 179 deletions.
193 changes: 20 additions & 173 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ edition = "2021"
build = "build.rs"

[dependencies]
clap = { version="4.3", features=['cargo'] }
clap = { version="4.4", features=['cargo'] }
random_color = "0.6"
fake = { version="2.5", features=['chrono', 'http', 'semver', 'random_color'] }

Expand All @@ -28,5 +28,5 @@ pest_derive = "2.5"
tera = "1.17"

[build-dependencies]
clap = { version="4.3", features=['cargo'] }
clap_complete = { version="4.3" }
clap = { version="4.4", features=['cargo'] }
clap_complete = { version="4.4" }
2 changes: 1 addition & 1 deletion pouf.bash
Original file line number Diff line number Diff line change
Expand Up @@ -933,4 +933,4 @@ _pouf() {
esac
}

complete -F _pouf -o bashdefault -o default pouf
complete -F _pouf -o nosort -o bashdefault -o default pouf
4 changes: 2 additions & 2 deletions pouf.fish
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ complete -c pouf -n "__fish_seen_subcommand_from filesystem.semver" -s u -l unst
complete -c pouf -n "__fish_seen_subcommand_from filesystem.semver" -s h -l help -d 'Print help'
complete -c pouf -n "__fish_seen_subcommand_from finance.bic" -s n -l number -d 'number of values' -r
complete -c pouf -n "__fish_seen_subcommand_from finance.bic" -s h -l help -d 'Print help'
complete -c pouf -n "__fish_seen_subcommand_from http.code" -s l -l lang -d 'give lang (ie: fr_FR)' -r -f -a "{fr ,fr_FR ,en }"
complete -c pouf -n "__fish_seen_subcommand_from http.code" -s l -l lang -d 'give lang (ie: fr_FR)' -r -f -a "{fr '',fr_FR '',en ''}"
complete -c pouf -n "__fish_seen_subcommand_from http.code" -s n -l number -d 'number of values' -r
complete -c pouf -n "__fish_seen_subcommand_from http.code" -s h -l help -d 'Print help'
complete -c pouf -n "__fish_seen_subcommand_from internet.ip" -s n -l number -d 'number of values' -r
Expand All @@ -66,7 +66,7 @@ complete -c pouf -n "__fish_seen_subcommand_from internet.useragent" -s n -l num
complete -c pouf -n "__fish_seen_subcommand_from internet.useragent" -s h -l help -d 'Print help'
complete -c pouf -n "__fish_seen_subcommand_from lorem.word" -s n -l number -d 'number of values' -r
complete -c pouf -n "__fish_seen_subcommand_from lorem.word" -s h -l help -d 'Print help'
complete -c pouf -n "__fish_seen_subcommand_from people.name" -s l -l lang -d 'give lang (ie: fr_FR)' -r -f -a "{fr ,fr_FR ,en }"
complete -c pouf -n "__fish_seen_subcommand_from people.name" -s l -l lang -d 'give lang (ie: fr_FR)' -r -f -a "{fr '',fr_FR '',en ''}"
complete -c pouf -n "__fish_seen_subcommand_from people.name" -s n -l number -d 'number of values' -r
complete -c pouf -n "__fish_seen_subcommand_from people.name" -s t -l title -d 'give a fake name title'
complete -c pouf -n "__fish_seen_subcommand_from people.name" -s w -l with-title -d 'give a fake name with her title'
Expand Down

0 comments on commit bab93ab

Please sign in to comment.