rulesync 7.8.1 → 7.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -60,7 +60,7 @@ import {
60
60
  removeTempDirectory,
61
61
  stringifyFrontmatter,
62
62
  writeFileContent
63
- } from "../chunk-PEMFIVEG.js";
63
+ } from "../chunk-57CDMFYZ.js";
64
64
 
65
65
  // src/cli/index.ts
66
66
  import { Command } from "commander";
@@ -3799,7 +3799,7 @@ async function updateCommand(currentVersion, options) {
3799
3799
  }
3800
3800
 
3801
3801
  // src/cli/index.ts
3802
- var getVersion = () => "7.8.1";
3802
+ var getVersion = () => "7.10.0";
3803
3803
  var main = async () => {
3804
3804
  const program = new Command();
3805
3805
  const version = getVersion();
@@ -3904,7 +3904,10 @@ var main = async () => {
3904
3904
  }
3905
3905
  ).option("--delete", "Delete all existing files in output directories before generating").option(
3906
3906
  "-b, --base-dir <paths>",
3907
- "Base directories to generate files (comma-separated for multiple paths)"
3907
+ "Base directories to generate files (comma-separated for multiple paths)",
3908
+ (value) => {
3909
+ return value.split(",").map((p) => p.trim());
3910
+ }
3908
3911
  ).option("-V, --verbose", "Verbose output").option("-s, --silent", "Suppress all output").option("-c, --config <path>", "Path to configuration file").option("-g, --global", "Generate for global(user scope) configuration files").option(
3909
3912
  "--simulate-commands",
3910
3913
  "Generate simulated commands. This feature is only available for copilot, cursor and codexcli."
@@ -3922,7 +3925,7 @@ var main = async () => {
3922
3925
  verbose: options.verbose,
3923
3926
  silent: options.silent,
3924
3927
  delete: options.delete,
3925
- baseDirs: options.baseDirs,
3928
+ baseDirs: options.baseDir,
3926
3929
  configPath: options.config,
3927
3930
  global: options.global,
3928
3931
  simulateCommands: options.simulateCommands,