@settlemint/sdk-cli 2.2.1 → 2.2.2-main42a47322

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/README.md CHANGED
@@ -249,7 +249,7 @@ settlemint scs subgraph deploy --accept-defaults <subgraph-name>
249
249
 
250
250
  ## API Reference
251
251
 
252
- See the [documentation](https://github.com/settlemint/sdk/tree/v2.2.1/sdk/cli/docs/settlemint.md) for available commands.
252
+ See the [documentation](https://github.com/settlemint/sdk/tree/v2.2.2/sdk/cli/docs/settlemint.md) for available commands.
253
253
 
254
254
  ## Contributing
255
255
 
package/dist/cli.js CHANGED
@@ -245445,7 +245445,7 @@ function pruneCurrentEnv(currentEnv, env2) {
245445
245445
  var package_default = {
245446
245446
  name: "@settlemint/sdk-cli",
245447
245447
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
245448
- version: "2.2.1",
245448
+ version: "2.2.2-main42a47322",
245449
245449
  type: "module",
245450
245450
  private: false,
245451
245451
  license: "FSL-1.1-MIT",
@@ -245494,8 +245494,8 @@ var package_default = {
245494
245494
  "@inquirer/input": "4.1.9",
245495
245495
  "@inquirer/password": "4.0.12",
245496
245496
  "@inquirer/select": "4.2.0",
245497
- "@settlemint/sdk-js": "2.2.1",
245498
- "@settlemint/sdk-utils": "2.2.1",
245497
+ "@settlemint/sdk-js": "2.2.2-main42a47322",
245498
+ "@settlemint/sdk-utils": "2.2.2-main42a47322",
245499
245499
  "@types/node": "22.15.3",
245500
245500
  "@types/semver": "7.7.0",
245501
245501
  "@types/which": "3.0.4",
@@ -253315,15 +253315,15 @@ function connectCommand() {
253315
253315
  return new Command("connect").option("--prod", "Connect to your production environment").option("-a, --accept-defaults", "Accept the default and previously set values").option("-i, --instance <instance>", "The instance to connect to (defaults to the instance in the .env file)").description("Connects your project to your application on SettleMint").usage(createExamples([
253316
253316
  {
253317
253317
  description: "Connect to your environment",
253318
- command: "settlemint connect"
253318
+ command: "connect"
253319
253319
  },
253320
253320
  {
253321
253321
  description: "Connect to your environment using defaults from the .env file",
253322
- command: "settlemint connect --accept-defaults"
253322
+ command: "connect --accept-defaults"
253323
253323
  },
253324
253324
  {
253325
253325
  description: "Connect to your production environment",
253326
- command: "settlemint connect --prod"
253326
+ command: "connect --prod"
253327
253327
  }
253328
253328
  ])).action(async ({ acceptDefaults, prod, instance }) => {
253329
253329
  intro("Connecting your dApp to SettleMint");
@@ -256777,15 +256777,15 @@ function createCommand2() {
256777
256777
  return new Command("create").description("Create a new application from a template").option("-n, --project-name <name>", "The name for your SettleMint project").option("-t, --template <template>", "The template for your SettleMint project (run `settlemint platform config` to see available templates)").option("-v, --version <version>", "Specify the template version to use (defaults to latest stable version)").option("-i, --instance <instance>", "The instance to connect to").usage(createExamples([
256778
256778
  {
256779
256779
  description: "Create a new application from a template",
256780
- command: "settlemint create"
256780
+ command: "create"
256781
256781
  },
256782
256782
  {
256783
256783
  description: "Create a new asset tokenization application",
256784
- command: "settlemint create --template asset-tokenization"
256784
+ command: "create --template asset-tokenization"
256785
256785
  },
256786
256786
  {
256787
256787
  description: "Create a new asset tokenization application from a specific version",
256788
- command: "settlemint create --template asset-tokenization --version 1.0.0"
256788
+ command: "create --template asset-tokenization --version 1.0.0"
256789
256789
  }
256790
256790
  ])).action(async ({ projectName, template, version, instance }) => {
256791
256791
  intro("Creating a new SettleMint project");
@@ -257104,11 +257104,11 @@ function logoutCommand() {
257104
257104
  return new Command("logout").description("Logout from your SettleMint account").option("--all", "Logout from all instances").usage(createExamples([
257105
257105
  {
257106
257106
  description: "Logout from your SettleMint account",
257107
- command: "settlemint logout"
257107
+ command: "logout"
257108
257108
  },
257109
257109
  {
257110
257110
  description: "Logout from all instances",
257111
- command: "settlemint logout --all"
257111
+ command: "logout --all"
257112
257112
  }
257113
257113
  ])).action(async (options) => {
257114
257114
  intro("Logging out from SettleMint");
@@ -259094,11 +259094,11 @@ function customDeploymentsUpdateCommand() {
259094
259094
  return new Command("custom-deployment").alias("cd").argument("<tag>", "The tag to update the custom deployment to").option("--unique-name <uniqueName>", "The unique name of the custom deployment to update. If not provided, will use SETTLEMINT_CUSTOM_DEPLOYMENT from env").option("--prod", "Connect to your production environment").option("--wait", "Wait for the custom deployment to be redeployed").description("Update a custom deployment in the SettleMint platform").usage(createExamples([
259095
259095
  {
259096
259096
  description: "Update a custom deployment",
259097
- command: "settlemint custom-deployment update v1.0.0"
259097
+ command: "custom-deployment update v1.0.0"
259098
259098
  },
259099
259099
  {
259100
259100
  description: "Update a custom deployment with a specific unique name",
259101
- command: "settlemint custom-deployment update v1.0.0 --unique-name my-custom-deployment"
259101
+ command: "custom-deployment update v1.0.0 --unique-name my-custom-deployment"
259102
259102
  }
259103
259103
  ])).action(async (tag, { uniqueName, prod, wait }) => {
259104
259104
  intro("Updating custom deployment in the SettleMint platform");
@@ -259202,15 +259202,15 @@ function configCommand() {
259202
259202
  return new Command("config").alias("cfg").description("Get platform configuration").option("--prod", "Connect to your production environment").option("-i, --instance <instance>", "The instance to connect to (defaults to the instance in the .env file)").addOption(new Option("-o, --output <output>", "The output format").choices(["json", "yaml"])).usage(createExamples([
259203
259203
  {
259204
259204
  description: "Get platform configuration",
259205
- command: "settlemint config"
259205
+ command: "config"
259206
259206
  },
259207
259207
  {
259208
259208
  description: "Get platform configuration in JSON format",
259209
- command: "settlemint config -o json"
259209
+ command: "config -o json"
259210
259210
  },
259211
259211
  {
259212
259212
  description: "Get platform configuration in YAML format",
259213
- command: "settlemint config -o yaml"
259213
+ command: "config -o yaml"
259214
259214
  }
259215
259215
  ])).action(async ({ prod, instance, output }) => {
259216
259216
  intro("Getting platform configuration");
@@ -260203,7 +260203,7 @@ function hardhatScriptLocalCommand() {
260203
260203
  return new Command("local").description("Run a Hardhat script on a local development network.").requiredOption("-s, --script <script>", 'The script to run with Hardhat , e.g. "scripts/deploy.ts"').option("--no-compile", "Don't compile before running this task").usage(createExamples([
260204
260204
  {
260205
260205
  description: "Run a Hardhat script on a local network",
260206
- command: "settlemint hardhat script local --script scripts/deploy.ts"
260206
+ command: "hardhat script local --script scripts/deploy.ts"
260207
260207
  }
260208
260208
  ])).action(async ({ script, compile }) => {
260209
260209
  intro("Running Hardhat script on local network");
@@ -260227,15 +260227,15 @@ function hardhatScriptRemoteCommand() {
260227
260227
  const cmd2 = new Command("remote").description("Run a Hardhat script on a remote network on the platform.").requiredOption("-s, --script <script>", 'The script to run with Hardhat , e.g. "scripts/deploy.ts"').option("--blockchain-node <blockchainNode>", "Blockchain Node unique name (optional, defaults to the blockchain node in the environment)").option("--prod", "Connect to your production environment").option("-a, --accept-defaults", "Accept the default and previously set values").option("--no-compile", "Don't compile before running this task").usage(createExamples([
260228
260228
  {
260229
260229
  description: "Run a Hardhat script on a remote network",
260230
- command: "settlemint hardhat script remote --script scripts/deploy.ts"
260230
+ command: "hardhat script remote --script scripts/deploy.ts"
260231
260231
  },
260232
260232
  {
260233
260233
  description: "Run a Hardhat script on a remote network with a specific blockchain node",
260234
- command: "settlemint hardhat script remote --script scripts/deploy.ts --blockchain-node my-blockchain-node"
260234
+ command: "hardhat script remote --script scripts/deploy.ts --blockchain-node my-blockchain-node"
260235
260235
  },
260236
260236
  {
260237
260237
  description: "Run a Hardhat script on a remote network without compiling",
260238
- command: "settlemint hardhat script remote --script scripts/deploy.ts --no-compile"
260238
+ command: "hardhat script remote --script scripts/deploy.ts --no-compile"
260239
260239
  }
260240
260240
  ]));
260241
260241
  cmd2.action(async ({ script, prod, blockchainNode: blockchainNodeUniqueName, acceptDefaults, compile }) => {
@@ -260455,7 +260455,7 @@ function subgraphBuildCommand() {
260455
260455
  return new Command("build").description("Build the subgraph").usage(createExamples([
260456
260456
  {
260457
260457
  description: "Build the subgraph",
260458
- command: "settlemint subgraph build"
260458
+ command: "subgraph build"
260459
260459
  }
260460
260460
  ])).action(async () => {
260461
260461
  intro("Building subgraph");
@@ -260478,7 +260478,7 @@ function subgraphCodegenCommand() {
260478
260478
  return new Command("codegen").description("Codegen the subgraph types").usage(createExamples([
260479
260479
  {
260480
260480
  description: "Generate subgraph types",
260481
- command: "settlemint subgraph codegen"
260481
+ command: "subgraph codegen"
260482
260482
  }
260483
260483
  ])).action(async () => {
260484
260484
  intro("Generating subgraph types");
@@ -260806,4 +260806,4 @@ async function sdkCliCommand(argv = process.argv) {
260806
260806
  // src/cli.ts
260807
260807
  sdkCliCommand();
260808
260808
 
260809
- //# debugId=C40C1EF11B2A6D7664756E2164756E21
260809
+ //# debugId=9A9A873D34DB94CD64756E2164756E21