From ea05a5db8dd6a3709bf5e1ec9f435fd8058abbf2 Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Fri, 22 Nov 2024 08:34:38 -0600 Subject: [PATCH] chore: bump usage (#3139) --- Cargo.lock | 4 ++-- completions/mise.bash | 1 + mise.lock | 2 +- mise.toml | 2 +- tasks.md | 6 +++--- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7cb6e12939..4d5590f451 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4074,9 +4074,9 @@ checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" [[package]] name = "usage-lib" -version = "1.3.2" +version = "1.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92a5a09b800c368c08956eae3c15a4bcb3d24f5a2e9ae406684bea35354ea5fc" +checksum = "a295f14b9d6e22bf9e19190c9dc1cb21bce03069bacf0b5dc63d4d7bb5ccb175" dependencies = [ "clap", "heck 0.5.0", diff --git a/completions/mise.bash b/completions/mise.bash index 94f49c562b..1ae3e7d9a7 100644 --- a/completions/mise.bash +++ b/completions/mise.bash @@ -10,6 +10,7 @@ _mise() { _usage_spec_mise_2024_11_23="$(mise usage)" fi + # shellcheck disable=SC2207 COMPREPLY=( $(usage complete-word --shell bash -s "${_usage_spec_mise_2024_11_23}" --cword="$COMP_CWORD" -- "${COMP_WORDS[@]}" ) ) if [[ $? -ne 0 ]]; then unset COMPREPLY diff --git a/mise.lock b/mise.lock index fb3c0b35d0..b10d52023f 100644 --- a/mise.lock +++ b/mise.lock @@ -32,7 +32,7 @@ version = "0.6.0" version = "2.7.0" [tools."cargo:usage-cli"] -version = "1.3.2" +version = "1.3.3" [tools.jq] version = "1.7.1" diff --git a/mise.toml b/mise.toml index 67c6ea27d2..88196ae76a 100644 --- a/mise.toml +++ b/mise.toml @@ -18,7 +18,7 @@ cargo-binstall = "latest" actionlint = "latest" ripgrep = "latest" "pipx:toml-sort" = "latest" -"cargo:usage-cli" = { version = "1.3", os = ["linux", "macos"] } +"cargo:usage-cli" = { version = "latest", os = ["linux", "macos"] } bun = "latest" #python = { version = "latest", virtualenv = "{{env.HOME}}/.cache/venv" } diff --git a/tasks.md b/tasks.md index fa2528e6e9..1c376b738e 100644 --- a/tasks.md +++ b/tasks.md @@ -73,20 +73,20 @@ run a command inside of development docker container ## `filetask` -- **Usage**: `filetask [-f --force] [-u --user ] ` +- **Usage**: `filetask [-f --force] [-u --user ] [file] [arg_with_default]` - **Aliases**: `ft` This is a test build script ### Arguments -#### `` +#### `[file]` The file to write **Default:** `file.txt` -#### `` +#### `[arg_with_default]` An arg with a default