From 18a8220aed5c9373148d9b226fc2aa63ad6d63ce Mon Sep 17 00:00:00 2001 From: Max Duval Date: Mon, 24 Jun 2024 18:09:12 +0100 Subject: [PATCH] docs: update examples --- tools/task-runner/runner.mjs | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/tools/task-runner/runner.mjs b/tools/task-runner/runner.mjs index d46a7028d7e2..d1e1c55dd7f0 100755 --- a/tools/task-runner/runner.mjs +++ b/tools/task-runner/runner.mjs @@ -48,15 +48,12 @@ const { }) .usage('Usage: $0 [] [--dev]') .command('task', `Run a task defined in '${tasksDirectory}'.`) - .example('$0 copy', 'Run all the copy tasks.') - .example('$0 javascript/copy', 'Run the javascript copy task.') + .example('$0 copy/index.js', 'Run all the copy tasks.') + .example('$0 javascript/copy.js', 'Run the javascript copy task.') + .example('$0 compile/index.dev.js', 'Run the compile dev copy task.') .example( - '$0 javascript/copy --dev', - 'Run the javascript copy task, and prefer the development version, if it exists.', - ) - .example( - '$0 javascript/copy css/copy --dev', - 'Run the javascript and css copy tasks, and prefer the development versions, if they exist.', + '$0 compile/javascript/copy.js compile/css/copy.js', + 'Run the javascript copy and css copy tasks.', ) .demand(1) .help()