How to use the @lerna/listable.options function in @lerna/listable

To help you get started, we’ve selected a few @lerna/listable examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lerna / lerna / commands / list / command.js View on Github external
exports.builder = yargs => {
  listable.options(yargs);

  return filterable(yargs);
};
github lerna / lerna / commands / changed / command.js View on Github external
"ignore-changes": {
      describe: [
        "Ignore changes in files matched by glob(s) when detecting changed packages.",
        "Pass --no-ignore-changes to completely disable.",
      ].join("\n"),
      type: "array",
    },
    "include-merged-tags": {
      describe: "Include tags from merged branches when detecting changed packages.",
      type: "boolean",
    },
  };

  yargs.options(opts).group(Object.keys(opts), "Command Options:");

  return listable.options(yargs, "Output Options:");
};

@lerna/listable

Shared logic for listing package information

MIT
Latest version published 1 year ago

Package Health Score

70 / 100
Full package analysis

Popular @lerna/listable functions