From 9bb7ead4aa43a4426b56ce604c15473b8714f0de Mon Sep 17 00:00:00 2001 From: Mike Pirog Date: Mon, 15 Jul 2024 10:25:47 -0400 Subject: [PATCH] update to yargs 15.4.1 for coercive reasons part 2 --- CHANGELOG.md | 2 +- lib/cli.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eec357b97..421dff52f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ * Added `appConfig` to `lando` for more powerful tasks * Added `primary` to `appConfig` for more powerful tasks * Added `otable` to `formatData` -* Updated to `yargs@13.3.0` for better `--` handling +* Updated to `yargs@15.4.1` for better `--` handling ## v3.21.2 - [June 20, 2024](https://github.com/lando/cli/releases/tag/v3.21.2) diff --git a/lib/cli.js b/lib/cli.js index 94bededa2..98efb73f9 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -353,6 +353,7 @@ module.exports = class Cli { // Loop through the tasks and add them to the CLI _.forEach(_.sortBy(tasks, 'command'), task => { + console.log(task) if (_.has(task, 'handler')) yargs.command(task); else yargs.command(this.parseToYargs(task, config)); });