@swmansion/argent 0.25.2-next.1 → 0.25.2-next.3

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-cmds.mjs CHANGED
@@ -21872,7 +21872,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
21872
21872
  var SESSION_ID2 = randomUUID5();
21873
21873
  function readCliVersion() {
21874
21874
  if (true) {
21875
- return "0.25.2-next.1";
21875
+ return "0.25.2-next.3";
21876
21876
  }
21877
21877
  return "0.0.0";
21878
21878
  }
@@ -25795,12 +25795,25 @@ function reportError(err, suggest) {
25795
25795
  }
25796
25796
  process.exit(2);
25797
25797
  }
25798
+ function wrapText(text2, indent, width = 80) {
25799
+ const lines = [];
25800
+ let line = "";
25801
+ for (const word of text2.split(/\s+/).filter(Boolean)) {
25802
+ if (line && indent.length + line.length + 1 + word.length > width) {
25803
+ lines.push(indent + line);
25804
+ line = word;
25805
+ } else {
25806
+ line = line ? `${line} ${word}` : word;
25807
+ }
25808
+ }
25809
+ if (line) lines.push(indent + line);
25810
+ return lines;
25811
+ }
25798
25812
  function printUsage() {
25799
- const keys = CONFIG_SCHEMA.map((d) => d.key);
25800
- const maxKey = keys.reduce((m, k) => Math.max(m, k.length), 0);
25801
25813
  const keyLines = CONFIG_SCHEMA.map((d) => {
25802
- const managed = d.manageCommand ? import_picocolors2.default.dim(` [managed by \`${d.manageCommand}\`]`) : "";
25803
- return ` ${d.key.padEnd(maxKey)} ${d.description}${managed}`;
25814
+ const lines = [` ${d.key}`, ...wrapText(d.description, " ")];
25815
+ if (d.manageCommand) lines.push(import_picocolors2.default.dim(` [managed by \`${d.manageCommand}\`]`));
25816
+ return lines.join("\n");
25804
25817
  });
25805
25818
  console.log(`Usage: argent config <command> [options]
25806
25819
 
@@ -25816,7 +25829,7 @@ Commands:
25816
25829
  unset <key> Remove a value at a scope (default global)
25817
25830
 
25818
25831
  Recognized keys:
25819
- ${keyLines.join("\n")}
25832
+ ${keyLines.join("\n\n")}
25820
25833
 
25821
25834
  Run \`argent config <command> --help\` for command-specific help.`);
25822
25835
  }
@@ -16725,7 +16725,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
16725
16725
  var SESSION_ID = randomUUID4();
16726
16726
  function readCliVersion() {
16727
16727
  if (true) {
16728
- return "0.25.2-next.1";
16728
+ return "0.25.2-next.3";
16729
16729
  }
16730
16730
  return "0.0.0";
16731
16731
  }
@@ -94799,7 +94799,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
94799
94799
  var SESSION_ID = (0, import_node_crypto3.randomUUID)();
94800
94800
  function readCliVersion() {
94801
94801
  if (true) {
94802
- return "0.25.2-next.1";
94802
+ return "0.25.2-next.3";
94803
94803
  }
94804
94804
  return "0.0.0";
94805
94805
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.25.2-next.1",
3
+ "version": "0.25.2-next.3",
4
4
  "mcpName": "io.github.software-mansion/argent",
5
5
  "description": "MCP server for iOS Simulator and Android Emulator control",
6
6
  "license": "Apache-2.0",