@settlemint/sdk-cli 2.3.1-main43534a57 → 2.3.1-main7b8724c1

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.js CHANGED
@@ -247890,7 +247890,7 @@ function pruneCurrentEnv(currentEnv, env2) {
247890
247890
  var package_default = {
247891
247891
  name: "@settlemint/sdk-cli",
247892
247892
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
247893
- version: "2.3.1-main43534a57",
247893
+ version: "2.3.1-main7b8724c1",
247894
247894
  type: "module",
247895
247895
  private: false,
247896
247896
  license: "FSL-1.1-MIT",
@@ -247939,8 +247939,8 @@ var package_default = {
247939
247939
  "@inquirer/input": "4.1.10",
247940
247940
  "@inquirer/password": "4.0.13",
247941
247941
  "@inquirer/select": "4.2.1",
247942
- "@settlemint/sdk-js": "2.3.1-main43534a57",
247943
- "@settlemint/sdk-utils": "2.3.1-main43534a57",
247942
+ "@settlemint/sdk-js": "2.3.1-main7b8724c1",
247943
+ "@settlemint/sdk-utils": "2.3.1-main7b8724c1",
247944
247944
  "@types/node": "22.15.19",
247945
247945
  "@types/semver": "7.7.0",
247946
247946
  "@types/which": "3.0.4",
@@ -262635,9 +262635,9 @@ function foundryBuildCommand() {
262635
262635
  description: "Build the smart contracts with additional Forge options",
262636
262636
  command: "scs foundry build --optimize --force"
262637
262637
  }
262638
- ])).helpOption(false).option("-h, --help", "Get list of possible forge options").passThroughOptions().allowUnknownOption(true).action(async (passThroughOptions, cmd2) => {
262638
+ ])).helpOption(false).option("-h, --help", "Get list of possible forge options").passThroughOptions().allowUnknownOption(true).arguments("[operands...]").action(async (operands, options, cmd2) => {
262639
262639
  intro("Building smart contracts using Foundry");
262640
- const forgeOptions = mapPassthroughOptions(passThroughOptions, cmd2);
262640
+ const forgeOptions = mapPassthroughOptions(options, { args: operands });
262641
262641
  await executeFoundryCommand("forge", ["build", ...forgeOptions]);
262642
262642
  outro("Smart contracts built successfully");
262643
262643
  });
@@ -262658,9 +262658,9 @@ function foundryFormatCommand() {
262658
262658
  description: "Format the smart contracts with additional Forge options",
262659
262659
  command: "scs foundry format --check"
262660
262660
  }
262661
- ])).helpOption(false).option("-h, --help", "Get list of possible forge options").passThroughOptions().allowUnknownOption(true).action(async (passThroughOptions, cmd2) => {
262661
+ ])).helpOption(false).option("-h, --help", "Get list of possible forge options").passThroughOptions().allowUnknownOption(true).arguments("[operands...]").action(async (operands, options, cmd2) => {
262662
262662
  intro("Formatting smart contracts using Foundry");
262663
- const forgeOptions = mapPassthroughOptions(passThroughOptions, cmd2);
262663
+ const forgeOptions = mapPassthroughOptions(options, { args: operands });
262664
262664
  await executeFoundryCommand("forge", ["fmt", ...forgeOptions]);
262665
262665
  outro("Smart contracts formatted successfully");
262666
262666
  });
@@ -262681,8 +262681,8 @@ function foundryNetworkCommand() {
262681
262681
  description: "Start a development network using Foundry with a specific port",
262682
262682
  command: "scs foundry network --port 3000"
262683
262683
  }
262684
- ])).helpOption(false).option("-h, --help", "Get list of possible anvil options").passThroughOptions().allowUnknownOption(true).action(async (passThroughOptions, cmd2) => {
262685
- const anvilOptions = mapPassthroughOptions(passThroughOptions, cmd2);
262684
+ ])).helpOption(false).option("-h, --help", "Get list of possible anvil options").passThroughOptions().allowUnknownOption(true).arguments("[operands...]").action(async (operands, options, cmd2) => {
262685
+ const anvilOptions = mapPassthroughOptions(options, { args: operands });
262686
262686
  await executeFoundryCommand("anvil", anvilOptions);
262687
262687
  });
262688
262688
  }
@@ -263654,4 +263654,4 @@ async function sdkCliCommand(argv = process.argv) {
263654
263654
  // src/cli.ts
263655
263655
  sdkCliCommand();
263656
263656
 
263657
- //# debugId=1C680D53BBB4E88064756E2164756E21
263657
+ //# debugId=311B10EF1C016C2A64756E2164756E21