From f7702ddccdfbd5692c604d890952500293b634d6 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sat, 25 Jan 2025 15:42:17 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- docs/cli/run.md | 2 ++ docs/cli/tasks/run.md | 2 ++ mise.usage.kdl | 2 ++ xtasks/fig/src/mise.ts | 8 ++++++++ 4 files changed, 14 insertions(+) diff --git a/docs/cli/run.md b/docs/cli/run.md index c8107b74ae..be25e4cc4b 100644 --- a/docs/cli/run.md +++ b/docs/cli/run.md @@ -101,6 +101,8 @@ Change how tasks information is output when running tasks - `quiet` - Don't show extra output - `silent` - Don't show any output including stdout and stderr from the task except for errors +### `--no-cache` + Examples: ``` diff --git a/docs/cli/tasks/run.md b/docs/cli/tasks/run.md index 3ac1582fb7..7e71d67cc5 100644 --- a/docs/cli/tasks/run.md +++ b/docs/cli/tasks/run.md @@ -115,6 +115,8 @@ Change how tasks information is output when running tasks - `quiet` - Don't show extra output - `silent` - Don't show any output including stdout and stderr from the task except for errors +### `--no-cache` + Examples: ``` diff --git a/mise.usage.kdl b/mise.usage.kdl index c851068455..4bd681a7df 100644 --- a/mise.usage.kdl +++ b/mise.usage.kdl @@ -604,6 +604,7 @@ cmd run help="Run task(s)" { long_help "Change how tasks information is output when running tasks\n\n- `prefix` - Print stdout/stderr by line, prefixed with the task's label\n- `interleave` - Print directly to stdout/stderr instead of by line\n- `replacing` - Stdout is replaced each time, stderr is printed as is\n- `timed` - Only show stdout lines if they are displayed for more than 1 second\n- `keep-order` - Print stdout/stderr by line, prefixed with the task's label, but keep the order of the output\n- `quiet` - Don't show extra output\n- `silent` - Don't show any output including stdout and stderr from the task except for errors" arg } + flag --no-cache mount run="mise tasks --usage" } cmd self-update help="Updates mise itself." { @@ -844,6 +845,7 @@ cmd tasks help="Manage tasks" { long_help "Change how tasks information is output when running tasks\n\n- `prefix` - Print stdout/stderr by line, prefixed with the task's label\n- `interleave` - Print directly to stdout/stderr instead of by line\n- `replacing` - Stdout is replaced each time, stderr is printed as is\n- `timed` - Only show stdout lines if they are displayed for more than 1 second\n- `keep-order` - Print stdout/stderr by line, prefixed with the task's label, but keep the order of the output\n- `quiet` - Don't show extra output\n- `silent` - Don't show any output including stdout and stderr from the task except for errors" arg } + flag --no-cache arg "[TASK]" help="Tasks to run\nCan specify multiple tasks by separating with `:::`\ne.g.: mise run task1 arg1 arg2 ::: task2 arg1 arg2" required=#false default=default arg "[ARGS]..." help="Arguments to pass to the tasks. Use \":::\" to separate tasks" required=#false var=#true arg "[-- ARGS_LAST]..." help="Arguments to pass to the tasks. Use \":::\" to separate tasks" required=#false var=#true hide=#true diff --git a/xtasks/fig/src/mise.ts b/xtasks/fig/src/mise.ts index 78f8488aca..0cdb0c8e88 100644 --- a/xtasks/fig/src/mise.ts +++ b/xtasks/fig/src/mise.ts @@ -1762,6 +1762,10 @@ const completionSpec: Fig.Spec = { name: "output", }, }, + { + name: "--no-cache", + isRepeatable: false, + }, ], generateSpec: usageGenerateSpec(["mise tasks --usage"]), cache: false, @@ -2402,6 +2406,10 @@ const completionSpec: Fig.Spec = { name: "output", }, }, + { + name: "--no-cache", + isRepeatable: false, + }, ], args: [ {