@mp-lb/forum-cli 0.1.6 → 0.1.7

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/index.js CHANGED
@@ -32316,7 +32316,7 @@ Usage:
32316
32316
  fm push [filePath] [--token <jwt>] [--force] [--yes|-y] [--dry-run|-d] [--verbose|--debug]
32317
32317
  fm status [--token <jwt>] [--json]
32318
32318
  fm s [--token <jwt>] [--json]
32319
- fm sync [--token <jwt>] [--conflict|-c local|remote] [--force] [--yes|-y] [--verbose] [--watch] [--readonly]
32319
+ fm sync [--token <jwt>] [--prioritize|-p local|remote] [--force] [--yes|-y] [--verbose] [--watch] [--readonly]
32320
32320
  fm sync --watch [<path>] [--notify] [--json] [--readonly]
32321
32321
  fm sync --watch <path...> [--paths-file <file>] [--notify] [--json]
32322
32322
  fm sync --dry-run|-d [--token <jwt>] [--json]
@@ -32578,13 +32578,13 @@ var parseArgs = (argv) => {
32578
32578
  openBrowser = false;
32579
32579
  continue;
32580
32580
  }
32581
- if (isSyncCommand && (current === "-c" || current === "--conflict" || current.startsWith("--conflict="))) {
32582
- const value = current.startsWith("--conflict=") ? current.slice("--conflict=".length) : next;
32581
+ if (isSyncCommand && (current === "-p" || current === "--prioritize" || current.startsWith("--prioritize="))) {
32582
+ const value = current.startsWith("--prioritize=") ? current.slice("--prioritize=".length) : next;
32583
32583
  if (value !== "local" && value !== "remote") {
32584
- throw new Error("--conflict requires local or remote.");
32584
+ throw new Error("--prioritize requires local or remote.");
32585
32585
  }
32586
32586
  conflictPolicy = value;
32587
- if (!current.startsWith("--conflict=")) index += 1;
32587
+ if (!current.startsWith("--prioritize=")) index += 1;
32588
32588
  continue;
32589
32589
  }
32590
32590
  if (current === "--force") {
@@ -37687,7 +37687,7 @@ var main = async (argv = process.argv.slice(2)) => {
37687
37687
  if (command === "sync") {
37688
37688
  if (parsed.conflictPolicy && (parsed.force || parsed.readonly)) {
37689
37689
  throw new Error(
37690
- "--conflict cannot be combined with --force or --readonly."
37690
+ "--prioritize cannot be combined with --force or --readonly."
37691
37691
  );
37692
37692
  }
37693
37693
  if (rest[0] === "reset") {