Skip to content

Commit 30f7fa5

Browse files
committed
fix: mention interactive task selector in help text
Note that omitting the task specifier in an interactive terminal opens an interactive task selector. https://claude.ai/code/session_018viAL2UGVNfLuUjTsi44HQ
1 parent 9f9ee39 commit 30f7fa5

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

  • crates/vite_task/src/cli

crates/vite_task/src/cli/mod.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,11 @@ pub struct RunCommand {
9292
#[clap(long, exclusive = true)]
9393
pub(crate) last_details: bool,
9494

95-
/// `packageName#taskName` or `taskName`, followed by any additional
96-
/// arguments to pass to the task.
97-
#[clap(allow_hyphen_values = true, value_names = ["TASK_SPECIFIER", "ADDITIONAL_ARGS"])]
95+
#[clap(
96+
allow_hyphen_values = true,
97+
value_names = ["TASK_SPECIFIER", "ADDITIONAL_ARGS"],
98+
long_help = "Task to run, as `packageName#taskName` or just `taskName`.\nAny arguments after the task name are forwarded to the task process.\nRunning `vp run` without a task name shows an interactive task selector."
99+
)]
98100
pub(crate) task_and_args: Vec<Str>,
99101
}
100102

0 commit comments

Comments
 (0)