@settlemint/sdk-cli 0.8.6-prad575e4c → 0.8.6-prc8cefb34
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 +229 -303
- package/dist/cli.js.map +27 -29
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -9260,7 +9260,7 @@ var require_elliptic = __commonJS((exports) => {
|
|
|
9260
9260
|
};
|
|
9261
9261
|
});
|
|
9262
9262
|
|
|
9263
|
-
// ../../node_modules/@noble/hashes/_assert.js
|
|
9263
|
+
// ../../node_modules/eciesjs/node_modules/@noble/hashes/_assert.js
|
|
9264
9264
|
var require__assert3 = __commonJS((exports) => {
|
|
9265
9265
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9266
9266
|
exports.anumber = anumber;
|
|
@@ -9312,7 +9312,7 @@ var require__assert3 = __commonJS((exports) => {
|
|
|
9312
9312
|
exports.default = assert;
|
|
9313
9313
|
});
|
|
9314
9314
|
|
|
9315
|
-
// ../../node_modules/@noble/hashes/cryptoNode.js
|
|
9315
|
+
// ../../node_modules/eciesjs/node_modules/@noble/hashes/cryptoNode.js
|
|
9316
9316
|
var require_cryptoNode3 = __commonJS((exports) => {
|
|
9317
9317
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9318
9318
|
exports.crypto = undefined;
|
|
@@ -9320,7 +9320,7 @@ var require_cryptoNode3 = __commonJS((exports) => {
|
|
|
9320
9320
|
exports.crypto = nc && typeof nc === "object" && "webcrypto" in nc ? nc.webcrypto : nc && typeof nc === "object" && ("randomBytes" in nc) ? nc : undefined;
|
|
9321
9321
|
});
|
|
9322
9322
|
|
|
9323
|
-
// ../../node_modules/@noble/hashes/utils.js
|
|
9323
|
+
// ../../node_modules/eciesjs/node_modules/@noble/hashes/utils.js
|
|
9324
9324
|
var require_utils6 = __commonJS((exports) => {
|
|
9325
9325
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
9326
9326
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -9488,7 +9488,7 @@ var require_utils6 = __commonJS((exports) => {
|
|
|
9488
9488
|
}
|
|
9489
9489
|
});
|
|
9490
9490
|
|
|
9491
|
-
// ../../node_modules/@noble/hashes/hmac.js
|
|
9491
|
+
// ../../node_modules/eciesjs/node_modules/@noble/hashes/hmac.js
|
|
9492
9492
|
var require_hmac2 = __commonJS((exports) => {
|
|
9493
9493
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9494
9494
|
exports.hmac = exports.HMAC = undefined;
|
|
@@ -9562,7 +9562,7 @@ var require_hmac2 = __commonJS((exports) => {
|
|
|
9562
9562
|
exports.hmac.create = (hash, key) => new HMAC(hash, key);
|
|
9563
9563
|
});
|
|
9564
9564
|
|
|
9565
|
-
// ../../node_modules/@noble/hashes/hkdf.js
|
|
9565
|
+
// ../../node_modules/eciesjs/node_modules/@noble/hashes/hkdf.js
|
|
9566
9566
|
var require_hkdf = __commonJS((exports) => {
|
|
9567
9567
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9568
9568
|
exports.hkdf = undefined;
|
|
@@ -9607,7 +9607,7 @@ var require_hkdf = __commonJS((exports) => {
|
|
|
9607
9607
|
exports.hkdf = hkdf;
|
|
9608
9608
|
});
|
|
9609
9609
|
|
|
9610
|
-
// ../../node_modules/@noble/hashes/_md.js
|
|
9610
|
+
// ../../node_modules/eciesjs/node_modules/@noble/hashes/_md.js
|
|
9611
9611
|
var require__md2 = __commonJS((exports) => {
|
|
9612
9612
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9613
9613
|
exports.HashMD = exports.Maj = exports.Chi = undefined;
|
|
@@ -9719,7 +9719,7 @@ var require__md2 = __commonJS((exports) => {
|
|
|
9719
9719
|
exports.HashMD = HashMD;
|
|
9720
9720
|
});
|
|
9721
9721
|
|
|
9722
|
-
// ../../node_modules/@noble/hashes/sha256.js
|
|
9722
|
+
// ../../node_modules/eciesjs/node_modules/@noble/hashes/sha256.js
|
|
9723
9723
|
var require_sha2562 = __commonJS((exports) => {
|
|
9724
9724
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9725
9725
|
exports.sha224 = exports.sha256 = exports.SHA256 = undefined;
|
|
@@ -11921,7 +11921,7 @@ var require_balanced_match = __commonJS((exports, module) => {
|
|
|
11921
11921
|
}
|
|
11922
11922
|
});
|
|
11923
11923
|
|
|
11924
|
-
// ../../node_modules/
|
|
11924
|
+
// ../../node_modules/brace-expansion/index.js
|
|
11925
11925
|
var require_brace_expansion = __commonJS((exports, module) => {
|
|
11926
11926
|
var balanced = require_balanced_match();
|
|
11927
11927
|
module.exports = expandTop;
|
|
@@ -19645,7 +19645,7 @@ var require_lib4 = __commonJS((exports, module) => {
|
|
|
19645
19645
|
var rRel = new RegExp(`^\\.${rSlash.source}`);
|
|
19646
19646
|
var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
|
|
19647
19647
|
var getPathInfo = (cmd, {
|
|
19648
|
-
path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
19648
|
+
path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.fZgL6jBVAf:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
|
|
19649
19649
|
pathExt: optPathExt = process.env.PATHEXT,
|
|
19650
19650
|
delimiter: optDelimiter = delimiter
|
|
19651
19651
|
}) => {
|
|
@@ -19849,7 +19849,7 @@ var require_lib5 = __commonJS((exports, module) => {
|
|
|
19849
19849
|
let pathToInitial;
|
|
19850
19850
|
try {
|
|
19851
19851
|
pathToInitial = which.sync(initialCmd, {
|
|
19852
|
-
path: options.env && findInObject(options.env, "PATH") || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
19852
|
+
path: options.env && findInObject(options.env, "PATH") || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.fZgL6jBVAf:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
|
|
19853
19853
|
pathext: options.env && findInObject(options.env, "PATHEXT") || process.env.PATHEXT
|
|
19854
19854
|
}).toLowerCase();
|
|
19855
19855
|
} catch (err) {
|
|
@@ -20566,7 +20566,7 @@ var require_lib6 = __commonJS((exports, module) => {
|
|
|
20566
20566
|
var rRel = new RegExp(`^\\.${rSlash.source}`);
|
|
20567
20567
|
var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
|
|
20568
20568
|
var getPathInfo = (cmd, {
|
|
20569
|
-
path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
20569
|
+
path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.fZgL6jBVAf:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
|
|
20570
20570
|
pathExt: optPathExt = process.env.PATHEXT,
|
|
20571
20571
|
delimiter: optDelimiter = delimiter
|
|
20572
20572
|
}) => {
|
|
@@ -222109,7 +222109,7 @@ Could not find "${i7}"`);
|
|
|
222109
222109
|
cwd: t7
|
|
222110
222110
|
});
|
|
222111
222111
|
}(function getPkgManager() {
|
|
222112
|
-
var e10 = "bun/1.1.
|
|
222112
|
+
var e10 = "bun/1.1.42 npm/? node/v22.6.0 linux x64";
|
|
222113
222113
|
if (e10.startsWith("yarn")) {
|
|
222114
222114
|
return "yarn";
|
|
222115
222115
|
}
|
|
@@ -223340,7 +223340,7 @@ ${Bt.cyan(Yt)}
|
|
|
223340
223340
|
code: "ENOENT"
|
|
223341
223341
|
}), getPathInfo = (e9, t7) => {
|
|
223342
223342
|
var r6 = t7.colon || or;
|
|
223343
|
-
var i6 = e9.match(/\//) || nr && e9.match(/\\/) ? [""] : [...nr ? [process.cwd()] : [], ...(t7.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
223343
|
+
var i6 = e9.match(/\//) || nr && e9.match(/\\/) ? [""] : [...nr ? [process.cwd()] : [], ...(t7.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.fZgL6jBVAf:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(r6)];
|
|
223344
223344
|
var n6 = nr ? t7.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
223345
223345
|
var a5 = nr ? n6.split(r6) : [""];
|
|
223346
223346
|
if (nr) {
|
|
@@ -226477,7 +226477,7 @@ ${whileRunning(e9)}`;
|
|
|
226477
226477
|
};
|
|
226478
226478
|
ni = Object.assign(async function _main() {
|
|
226479
226479
|
var e9 = new Cli({
|
|
226480
|
-
binaryVersion: "0.8.6-
|
|
226480
|
+
binaryVersion: "0.8.6-prc8cefb34",
|
|
226481
226481
|
binaryLabel: "gql.tada CLI",
|
|
226482
226482
|
binaryName: "gql.tada"
|
|
226483
226483
|
});
|
|
@@ -228233,7 +228233,7 @@ var init_mjs = __esm(() => {
|
|
|
228233
228233
|
} = signalExitWrap(processOk2(process6) ? new SignalExit2(process6) : new SignalExitFallback2));
|
|
228234
228234
|
});
|
|
228235
228235
|
|
|
228236
|
-
// ../../node_modules
|
|
228236
|
+
// ../../node_modules/ansi-escapes/index.js
|
|
228237
228237
|
var require_ansi_escapes = __commonJS((exports, module) => {
|
|
228238
228238
|
var ansiEscapes = exports;
|
|
228239
228239
|
exports.default = ansiEscapes;
|
|
@@ -228351,242 +228351,6 @@ var require_ansi_escapes = __commonJS((exports, module) => {
|
|
|
228351
228351
|
};
|
|
228352
228352
|
});
|
|
228353
228353
|
|
|
228354
|
-
// ../../node_modules/@inquirer/select/node_modules/ansi-escapes/index.js
|
|
228355
|
-
var require_ansi_escapes2 = __commonJS((exports, module) => {
|
|
228356
|
-
var ansiEscapes2 = exports;
|
|
228357
|
-
exports.default = ansiEscapes2;
|
|
228358
|
-
var ESC = "\x1B[";
|
|
228359
|
-
var OSC = "\x1B]";
|
|
228360
|
-
var BEL = "\x07";
|
|
228361
|
-
var SEP = ";";
|
|
228362
|
-
var isTerminalApp = process.env.TERM_PROGRAM === "Apple_Terminal";
|
|
228363
|
-
ansiEscapes2.cursorTo = (x5, y4) => {
|
|
228364
|
-
if (typeof x5 !== "number") {
|
|
228365
|
-
throw new TypeError("The `x` argument is required");
|
|
228366
|
-
}
|
|
228367
|
-
if (typeof y4 !== "number") {
|
|
228368
|
-
return ESC + (x5 + 1) + "G";
|
|
228369
|
-
}
|
|
228370
|
-
return ESC + (y4 + 1) + ";" + (x5 + 1) + "H";
|
|
228371
|
-
};
|
|
228372
|
-
ansiEscapes2.cursorMove = (x5, y4) => {
|
|
228373
|
-
if (typeof x5 !== "number") {
|
|
228374
|
-
throw new TypeError("The `x` argument is required");
|
|
228375
|
-
}
|
|
228376
|
-
let ret = "";
|
|
228377
|
-
if (x5 < 0) {
|
|
228378
|
-
ret += ESC + -x5 + "D";
|
|
228379
|
-
} else if (x5 > 0) {
|
|
228380
|
-
ret += ESC + x5 + "C";
|
|
228381
|
-
}
|
|
228382
|
-
if (y4 < 0) {
|
|
228383
|
-
ret += ESC + -y4 + "A";
|
|
228384
|
-
} else if (y4 > 0) {
|
|
228385
|
-
ret += ESC + y4 + "B";
|
|
228386
|
-
}
|
|
228387
|
-
return ret;
|
|
228388
|
-
};
|
|
228389
|
-
ansiEscapes2.cursorUp = (count = 1) => ESC + count + "A";
|
|
228390
|
-
ansiEscapes2.cursorDown = (count = 1) => ESC + count + "B";
|
|
228391
|
-
ansiEscapes2.cursorForward = (count = 1) => ESC + count + "C";
|
|
228392
|
-
ansiEscapes2.cursorBackward = (count = 1) => ESC + count + "D";
|
|
228393
|
-
ansiEscapes2.cursorLeft = ESC + "G";
|
|
228394
|
-
ansiEscapes2.cursorSavePosition = isTerminalApp ? "\x1B7" : ESC + "s";
|
|
228395
|
-
ansiEscapes2.cursorRestorePosition = isTerminalApp ? "\x1B8" : ESC + "u";
|
|
228396
|
-
ansiEscapes2.cursorGetPosition = ESC + "6n";
|
|
228397
|
-
ansiEscapes2.cursorNextLine = ESC + "E";
|
|
228398
|
-
ansiEscapes2.cursorPrevLine = ESC + "F";
|
|
228399
|
-
ansiEscapes2.cursorHide = ESC + "?25l";
|
|
228400
|
-
ansiEscapes2.cursorShow = ESC + "?25h";
|
|
228401
|
-
ansiEscapes2.eraseLines = (count) => {
|
|
228402
|
-
let clear = "";
|
|
228403
|
-
for (let i6 = 0;i6 < count; i6++) {
|
|
228404
|
-
clear += ansiEscapes2.eraseLine + (i6 < count - 1 ? ansiEscapes2.cursorUp() : "");
|
|
228405
|
-
}
|
|
228406
|
-
if (count) {
|
|
228407
|
-
clear += ansiEscapes2.cursorLeft;
|
|
228408
|
-
}
|
|
228409
|
-
return clear;
|
|
228410
|
-
};
|
|
228411
|
-
ansiEscapes2.eraseEndLine = ESC + "K";
|
|
228412
|
-
ansiEscapes2.eraseStartLine = ESC + "1K";
|
|
228413
|
-
ansiEscapes2.eraseLine = ESC + "2K";
|
|
228414
|
-
ansiEscapes2.eraseDown = ESC + "J";
|
|
228415
|
-
ansiEscapes2.eraseUp = ESC + "1J";
|
|
228416
|
-
ansiEscapes2.eraseScreen = ESC + "2J";
|
|
228417
|
-
ansiEscapes2.scrollUp = ESC + "S";
|
|
228418
|
-
ansiEscapes2.scrollDown = ESC + "T";
|
|
228419
|
-
ansiEscapes2.clearScreen = "\x1Bc";
|
|
228420
|
-
ansiEscapes2.clearTerminal = process.platform === "win32" ? `${ansiEscapes2.eraseScreen}${ESC}0f` : `${ansiEscapes2.eraseScreen}${ESC}3J${ESC}H`;
|
|
228421
|
-
ansiEscapes2.beep = BEL;
|
|
228422
|
-
ansiEscapes2.link = (text2, url) => {
|
|
228423
|
-
return [
|
|
228424
|
-
OSC,
|
|
228425
|
-
"8",
|
|
228426
|
-
SEP,
|
|
228427
|
-
SEP,
|
|
228428
|
-
url,
|
|
228429
|
-
BEL,
|
|
228430
|
-
text2,
|
|
228431
|
-
OSC,
|
|
228432
|
-
"8",
|
|
228433
|
-
SEP,
|
|
228434
|
-
SEP,
|
|
228435
|
-
BEL
|
|
228436
|
-
].join("");
|
|
228437
|
-
};
|
|
228438
|
-
ansiEscapes2.image = (buffer, options = {}) => {
|
|
228439
|
-
let ret = `${OSC}1337;File=inline=1`;
|
|
228440
|
-
if (options.width) {
|
|
228441
|
-
ret += `;width=${options.width}`;
|
|
228442
|
-
}
|
|
228443
|
-
if (options.height) {
|
|
228444
|
-
ret += `;height=${options.height}`;
|
|
228445
|
-
}
|
|
228446
|
-
if (options.preserveAspectRatio === false) {
|
|
228447
|
-
ret += ";preserveAspectRatio=0";
|
|
228448
|
-
}
|
|
228449
|
-
return ret + ":" + buffer.toString("base64") + BEL;
|
|
228450
|
-
};
|
|
228451
|
-
ansiEscapes2.iTerm = {
|
|
228452
|
-
setCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
|
|
228453
|
-
annotation: (message, options = {}) => {
|
|
228454
|
-
let ret = `${OSC}1337;`;
|
|
228455
|
-
const hasX = typeof options.x !== "undefined";
|
|
228456
|
-
const hasY = typeof options.y !== "undefined";
|
|
228457
|
-
if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== "undefined")) {
|
|
228458
|
-
throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");
|
|
228459
|
-
}
|
|
228460
|
-
message = message.replace(/\|/g, "");
|
|
228461
|
-
ret += options.isHidden ? "AddHiddenAnnotation=" : "AddAnnotation=";
|
|
228462
|
-
if (options.length > 0) {
|
|
228463
|
-
ret += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join("|");
|
|
228464
|
-
} else {
|
|
228465
|
-
ret += message;
|
|
228466
|
-
}
|
|
228467
|
-
return ret + BEL;
|
|
228468
|
-
}
|
|
228469
|
-
};
|
|
228470
|
-
});
|
|
228471
|
-
|
|
228472
|
-
// ../../node_modules/@inquirer/password/node_modules/ansi-escapes/index.js
|
|
228473
|
-
var require_ansi_escapes3 = __commonJS((exports, module) => {
|
|
228474
|
-
var ansiEscapes3 = exports;
|
|
228475
|
-
exports.default = ansiEscapes3;
|
|
228476
|
-
var ESC = "\x1B[";
|
|
228477
|
-
var OSC = "\x1B]";
|
|
228478
|
-
var BEL = "\x07";
|
|
228479
|
-
var SEP = ";";
|
|
228480
|
-
var isTerminalApp = process.env.TERM_PROGRAM === "Apple_Terminal";
|
|
228481
|
-
ansiEscapes3.cursorTo = (x5, y4) => {
|
|
228482
|
-
if (typeof x5 !== "number") {
|
|
228483
|
-
throw new TypeError("The `x` argument is required");
|
|
228484
|
-
}
|
|
228485
|
-
if (typeof y4 !== "number") {
|
|
228486
|
-
return ESC + (x5 + 1) + "G";
|
|
228487
|
-
}
|
|
228488
|
-
return ESC + (y4 + 1) + ";" + (x5 + 1) + "H";
|
|
228489
|
-
};
|
|
228490
|
-
ansiEscapes3.cursorMove = (x5, y4) => {
|
|
228491
|
-
if (typeof x5 !== "number") {
|
|
228492
|
-
throw new TypeError("The `x` argument is required");
|
|
228493
|
-
}
|
|
228494
|
-
let ret = "";
|
|
228495
|
-
if (x5 < 0) {
|
|
228496
|
-
ret += ESC + -x5 + "D";
|
|
228497
|
-
} else if (x5 > 0) {
|
|
228498
|
-
ret += ESC + x5 + "C";
|
|
228499
|
-
}
|
|
228500
|
-
if (y4 < 0) {
|
|
228501
|
-
ret += ESC + -y4 + "A";
|
|
228502
|
-
} else if (y4 > 0) {
|
|
228503
|
-
ret += ESC + y4 + "B";
|
|
228504
|
-
}
|
|
228505
|
-
return ret;
|
|
228506
|
-
};
|
|
228507
|
-
ansiEscapes3.cursorUp = (count = 1) => ESC + count + "A";
|
|
228508
|
-
ansiEscapes3.cursorDown = (count = 1) => ESC + count + "B";
|
|
228509
|
-
ansiEscapes3.cursorForward = (count = 1) => ESC + count + "C";
|
|
228510
|
-
ansiEscapes3.cursorBackward = (count = 1) => ESC + count + "D";
|
|
228511
|
-
ansiEscapes3.cursorLeft = ESC + "G";
|
|
228512
|
-
ansiEscapes3.cursorSavePosition = isTerminalApp ? "\x1B7" : ESC + "s";
|
|
228513
|
-
ansiEscapes3.cursorRestorePosition = isTerminalApp ? "\x1B8" : ESC + "u";
|
|
228514
|
-
ansiEscapes3.cursorGetPosition = ESC + "6n";
|
|
228515
|
-
ansiEscapes3.cursorNextLine = ESC + "E";
|
|
228516
|
-
ansiEscapes3.cursorPrevLine = ESC + "F";
|
|
228517
|
-
ansiEscapes3.cursorHide = ESC + "?25l";
|
|
228518
|
-
ansiEscapes3.cursorShow = ESC + "?25h";
|
|
228519
|
-
ansiEscapes3.eraseLines = (count) => {
|
|
228520
|
-
let clear = "";
|
|
228521
|
-
for (let i6 = 0;i6 < count; i6++) {
|
|
228522
|
-
clear += ansiEscapes3.eraseLine + (i6 < count - 1 ? ansiEscapes3.cursorUp() : "");
|
|
228523
|
-
}
|
|
228524
|
-
if (count) {
|
|
228525
|
-
clear += ansiEscapes3.cursorLeft;
|
|
228526
|
-
}
|
|
228527
|
-
return clear;
|
|
228528
|
-
};
|
|
228529
|
-
ansiEscapes3.eraseEndLine = ESC + "K";
|
|
228530
|
-
ansiEscapes3.eraseStartLine = ESC + "1K";
|
|
228531
|
-
ansiEscapes3.eraseLine = ESC + "2K";
|
|
228532
|
-
ansiEscapes3.eraseDown = ESC + "J";
|
|
228533
|
-
ansiEscapes3.eraseUp = ESC + "1J";
|
|
228534
|
-
ansiEscapes3.eraseScreen = ESC + "2J";
|
|
228535
|
-
ansiEscapes3.scrollUp = ESC + "S";
|
|
228536
|
-
ansiEscapes3.scrollDown = ESC + "T";
|
|
228537
|
-
ansiEscapes3.clearScreen = "\x1Bc";
|
|
228538
|
-
ansiEscapes3.clearTerminal = process.platform === "win32" ? `${ansiEscapes3.eraseScreen}${ESC}0f` : `${ansiEscapes3.eraseScreen}${ESC}3J${ESC}H`;
|
|
228539
|
-
ansiEscapes3.beep = BEL;
|
|
228540
|
-
ansiEscapes3.link = (text2, url) => {
|
|
228541
|
-
return [
|
|
228542
|
-
OSC,
|
|
228543
|
-
"8",
|
|
228544
|
-
SEP,
|
|
228545
|
-
SEP,
|
|
228546
|
-
url,
|
|
228547
|
-
BEL,
|
|
228548
|
-
text2,
|
|
228549
|
-
OSC,
|
|
228550
|
-
"8",
|
|
228551
|
-
SEP,
|
|
228552
|
-
SEP,
|
|
228553
|
-
BEL
|
|
228554
|
-
].join("");
|
|
228555
|
-
};
|
|
228556
|
-
ansiEscapes3.image = (buffer, options = {}) => {
|
|
228557
|
-
let ret = `${OSC}1337;File=inline=1`;
|
|
228558
|
-
if (options.width) {
|
|
228559
|
-
ret += `;width=${options.width}`;
|
|
228560
|
-
}
|
|
228561
|
-
if (options.height) {
|
|
228562
|
-
ret += `;height=${options.height}`;
|
|
228563
|
-
}
|
|
228564
|
-
if (options.preserveAspectRatio === false) {
|
|
228565
|
-
ret += ";preserveAspectRatio=0";
|
|
228566
|
-
}
|
|
228567
|
-
return ret + ":" + buffer.toString("base64") + BEL;
|
|
228568
|
-
};
|
|
228569
|
-
ansiEscapes3.iTerm = {
|
|
228570
|
-
setCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
|
|
228571
|
-
annotation: (message, options = {}) => {
|
|
228572
|
-
let ret = `${OSC}1337;`;
|
|
228573
|
-
const hasX = typeof options.x !== "undefined";
|
|
228574
|
-
const hasY = typeof options.y !== "undefined";
|
|
228575
|
-
if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== "undefined")) {
|
|
228576
|
-
throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");
|
|
228577
|
-
}
|
|
228578
|
-
message = message.replace(/\|/g, "");
|
|
228579
|
-
ret += options.isHidden ? "AddHiddenAnnotation=" : "AddAnnotation=";
|
|
228580
|
-
if (options.length > 0) {
|
|
228581
|
-
ret += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join("|");
|
|
228582
|
-
} else {
|
|
228583
|
-
ret += message;
|
|
228584
|
-
}
|
|
228585
|
-
return ret + BEL;
|
|
228586
|
-
}
|
|
228587
|
-
};
|
|
228588
|
-
});
|
|
228589
|
-
|
|
228590
228354
|
// ../../node_modules/tar/lib/high-level-opt.js
|
|
228591
228355
|
var require_high_level_opt = __commonJS((exports, module) => {
|
|
228592
228356
|
var argmap = new Map([
|
|
@@ -235213,7 +234977,7 @@ var require_which2 = __commonJS((exports, module) => {
|
|
|
235213
234977
|
const colon = opt2.colon || COLON;
|
|
235214
234978
|
const pathEnv = cmd2.match(/\//) || isWindows2 && cmd2.match(/\\/) ? [""] : [
|
|
235215
234979
|
...isWindows2 ? [process.cwd()] : [],
|
|
235216
|
-
...(opt2.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
234980
|
+
...(opt2.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.fZgL6jBVAf:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(colon)
|
|
235217
234981
|
];
|
|
235218
234982
|
const pathExtExe = isWindows2 ? opt2.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
235219
234983
|
const pathExt = isWindows2 ? pathExtExe.split(colon) : [""];
|
|
@@ -257033,7 +256797,7 @@ ${error.stack}`));
|
|
|
257033
256797
|
var package_default = {
|
|
257034
256798
|
name: "@settlemint/sdk-cli",
|
|
257035
256799
|
description: "SettleMint SDK, integrate SettleMint into your application with ease.",
|
|
257036
|
-
version: "0.8.6-
|
|
256800
|
+
version: "0.8.6-prc8cefb34",
|
|
257037
256801
|
type: "module",
|
|
257038
256802
|
private: false,
|
|
257039
256803
|
license: "FSL-1.1-MIT",
|
|
@@ -257085,8 +256849,8 @@ var package_default = {
|
|
|
257085
256849
|
"@inquirer/input": "4.1.1",
|
|
257086
256850
|
"@inquirer/password": "4.0.4",
|
|
257087
256851
|
"@inquirer/select": "4.0.4",
|
|
257088
|
-
"@settlemint/sdk-js": "0.8.6-
|
|
257089
|
-
"@settlemint/sdk-utils": "0.8.6-
|
|
256852
|
+
"@settlemint/sdk-js": "0.8.6-prc8cefb34",
|
|
256853
|
+
"@settlemint/sdk-utils": "0.8.6-prc8cefb34",
|
|
257090
256854
|
"get-tsconfig": "4.8.1",
|
|
257091
256855
|
giget: "1.2.3"
|
|
257092
256856
|
},
|
|
@@ -270005,7 +269769,7 @@ class Separator {
|
|
|
270005
269769
|
}
|
|
270006
269770
|
// ../../node_modules/@inquirer/select/dist/esm/index.js
|
|
270007
269771
|
var import_yoctocolors_cjs3 = __toESM(require_yoctocolors_cjs(), 1);
|
|
270008
|
-
var import_ansi_escapes2 = __toESM(
|
|
269772
|
+
var import_ansi_escapes2 = __toESM(require_ansi_escapes(), 1);
|
|
270009
269773
|
var selectTheme = {
|
|
270010
269774
|
icon: { cursor: esm_default.pointer },
|
|
270011
269775
|
style: {
|
|
@@ -270594,9 +270358,31 @@ export const { client } = createServerMinioClient({
|
|
|
270594
270358
|
await writeTemplate(clientTemplate, "/lib/settlemint", "minio.ts");
|
|
270595
270359
|
}
|
|
270596
270360
|
|
|
270361
|
+
// src/commands/platform/utils/create-examples.ts
|
|
270362
|
+
function createExamples(examples) {
|
|
270363
|
+
return `
|
|
270364
|
+
Examples:
|
|
270365
|
+
|
|
270366
|
+
${examples.map(({ description, command, commandPrefix }) => {
|
|
270367
|
+
return ` # ${description}
|
|
270368
|
+
$ ${commandPrefix ?? ""}settlemint ${command}`;
|
|
270369
|
+
}).join(`
|
|
270370
|
+
|
|
270371
|
+
`)}`;
|
|
270372
|
+
}
|
|
270373
|
+
|
|
270597
270374
|
// src/commands/codegen.ts
|
|
270598
270375
|
function codegenCommand() {
|
|
270599
|
-
return new Command("codegen").option("--prod", "Connect to your production environment").option("--thegraph-subgraph-names <subgraph-names...>", "The name(s) of the TheGraph subgraph(s) to generate (skip if you want to generate all)").description("Generate GraphQL and REST types and queries").
|
|
270376
|
+
return new Command("codegen").option("--prod", "Connect to your production environment").option("--thegraph-subgraph-names <subgraph-names...>", "The name(s) of the TheGraph subgraph(s) to generate (skip if you want to generate all)").description("Generate GraphQL and REST types and queries").usage(createExamples([
|
|
270377
|
+
{
|
|
270378
|
+
description: "Generate GraphQL types and queries for your dApp",
|
|
270379
|
+
command: "codegen"
|
|
270380
|
+
},
|
|
270381
|
+
{
|
|
270382
|
+
description: "Generate GraphQL types and queries for specific TheGraph subgraphs",
|
|
270383
|
+
command: "codegen --thegraph-subgraph-names subgraph1 subgraph2"
|
|
270384
|
+
}
|
|
270385
|
+
])).action(async ({ prod, thegraphSubgraphNames }) => {
|
|
270600
270386
|
intro("Generating GraphQL types and queries for your dApp");
|
|
270601
270387
|
const env2 = await loadEnv2(true, !!prod);
|
|
270602
270388
|
if (!Array.isArray(thegraphSubgraphNames)) {
|
|
@@ -272869,7 +272655,7 @@ var esm_default4 = createPrompt((config4, done) => {
|
|
|
272869
272655
|
});
|
|
272870
272656
|
|
|
272871
272657
|
// ../../node_modules/@inquirer/password/dist/esm/index.js
|
|
272872
|
-
var import_ansi_escapes3 = __toESM(
|
|
272658
|
+
var import_ansi_escapes3 = __toESM(require_ansi_escapes(), 1);
|
|
272873
272659
|
var esm_default5 = createPrompt((config4, done) => {
|
|
272874
272660
|
const { validate: validate4 = () => true } = config4;
|
|
272875
272661
|
const theme = makeTheme(config4.theme);
|
|
@@ -274252,7 +274038,7 @@ async function downloadAndExtractNpmPackage(template, targetDir) {
|
|
|
274252
274038
|
|
|
274253
274039
|
// src/commands/create.ts
|
|
274254
274040
|
function createCommand2() {
|
|
274255
|
-
return new Command("create").description("Bootstrap your SettleMint project").option("-n, --project-name <name>", "The name for your SettleMint project").
|
|
274041
|
+
return new Command("create").description("Bootstrap your SettleMint project").option("-n, --project-name <name>", "The name for your SettleMint project").addOption(new Option("-t, --template <template>", "Thehe template for your SettleMint project").choices(templates.map((templates2) => templates2.value))).action(async ({ projectName, template }) => {
|
|
274256
274042
|
intro("Creating a new SettleMint project");
|
|
274257
274043
|
const env2 = await loadEnv2(false, false);
|
|
274258
274044
|
const name2 = await namePrompt(env2, projectName);
|
|
@@ -274298,19 +274084,6 @@ async function loginSpinner(settlemint) {
|
|
|
274298
274084
|
});
|
|
274299
274085
|
}
|
|
274300
274086
|
|
|
274301
|
-
// src/commands/platform/utils/create-examples.ts
|
|
274302
|
-
function createExamples(examples) {
|
|
274303
|
-
return `
|
|
274304
|
-
Examples:
|
|
274305
|
-
|
|
274306
|
-
${examples.map(({ description, command, commandPrefix }) => {
|
|
274307
|
-
return ` # ${description}
|
|
274308
|
-
$ ${commandPrefix ?? ""}settlemint ${command}`;
|
|
274309
|
-
}).join(`
|
|
274310
|
-
|
|
274311
|
-
`)}`;
|
|
274312
|
-
}
|
|
274313
|
-
|
|
274314
274087
|
// src/commands/connect/pat.prompt.ts
|
|
274315
274088
|
async function personalAccessTokenPrompt(env2, instance, accept) {
|
|
274316
274089
|
const existingConfig = await getInstanceCredentials(instance);
|
|
@@ -274536,9 +274309,13 @@ function getCreateCommand({
|
|
|
274536
274309
|
alias,
|
|
274537
274310
|
examples,
|
|
274538
274311
|
execute: execute2,
|
|
274539
|
-
usePersonalAccessToken = true
|
|
274312
|
+
usePersonalAccessToken = true,
|
|
274313
|
+
requiresDeployment = true
|
|
274540
274314
|
}) {
|
|
274541
|
-
const cmd2 = new Command(sanitizeCommandName(name2)).alias(alias).description(`Create a new ${type4} in the SettleMint platform.`).usage(createExamples(examples)).argument("<name>", `The ${type4} name`).option("-a, --accept-defaults", "Accept the default values").option("-d, --default", `Save as default ${type4}`).option("
|
|
274315
|
+
const cmd2 = new Command(sanitizeCommandName(name2)).alias(alias).description(`Create a new ${type4} in the SettleMint platform.`).usage(createExamples(examples)).argument("<name>", `The ${type4} name`).option("-a, --accept-defaults", "Accept the default values").option("-d, --default", `Save as default ${type4}`).option("--prod", "Connect to production environment");
|
|
274316
|
+
if (requiresDeployment) {
|
|
274317
|
+
cmd2.option("-w, --wait", "Wait until deployed").option("-r, --restart-if-timeout", "Restart if wait time is exceeded");
|
|
274318
|
+
}
|
|
274542
274319
|
execute2(cmd2, async ({ acceptDefaults, prod, default: isDefault, wait, restartIfTimeout }, createFunction) => {
|
|
274543
274320
|
intro(`Creating ${type4} in the SettleMint platform`);
|
|
274544
274321
|
const autoAccept = !!acceptDefaults || is_in_ci_default;
|
|
@@ -274814,7 +274591,8 @@ function workspaceCreateCommand() {
|
|
|
274814
274591
|
description: "Create a workspace and save as default",
|
|
274815
274592
|
command: "platform create workspace my-workspace -d"
|
|
274816
274593
|
}
|
|
274817
|
-
]
|
|
274594
|
+
],
|
|
274595
|
+
requiresDeployment: false
|
|
274818
274596
|
});
|
|
274819
274597
|
}
|
|
274820
274598
|
|
|
@@ -274899,7 +274677,8 @@ function applicationAccessTokenCreateCommand() {
|
|
|
274899
274677
|
description: "Create an application access token (shorthand)",
|
|
274900
274678
|
command: "platform create aat my-token"
|
|
274901
274679
|
}
|
|
274902
|
-
]
|
|
274680
|
+
],
|
|
274681
|
+
requiresDeployment: false
|
|
274903
274682
|
});
|
|
274904
274683
|
}
|
|
274905
274684
|
|
|
@@ -274940,7 +274719,8 @@ function applicationCreateCommand() {
|
|
|
274940
274719
|
description: "Create an application in a specific workspace",
|
|
274941
274720
|
command: "platform create application my-app --workspace my-workspace"
|
|
274942
274721
|
}
|
|
274943
|
-
]
|
|
274722
|
+
],
|
|
274723
|
+
requiresDeployment: false
|
|
274944
274724
|
});
|
|
274945
274725
|
}
|
|
274946
274726
|
|
|
@@ -275214,11 +274994,14 @@ function smartContractPortalMiddlewareCreateCommand() {
|
|
|
275214
274994
|
alias: "scp",
|
|
275215
274995
|
execute: (cmd2, baseAction) => {
|
|
275216
274996
|
addClusterServiceArgs(cmd2).option("--application <application>", "Application unique name").option("--load-balancer <loadBalancer>", "Load Balancer unique name (mutually exclusive with blockchain-node)").option("--blockchain-node <blockchainNode>", "Blockchain Node unique name (mutually exclusive with load-balancer)").option("--abis <abis...>", "Path to abi file(s)").addOption(new Option("--include-predeployed-abis <includePredeployedAbis...>", "Include pre-deployed abis").choices([
|
|
275217
|
-
"
|
|
275218
|
-
"
|
|
275219
|
-
"
|
|
275220
|
-
"
|
|
275221
|
-
"
|
|
274997
|
+
"Bond",
|
|
274998
|
+
"BondFactory",
|
|
274999
|
+
"CryptoCurrency",
|
|
275000
|
+
"CryptoCurrencyFactory",
|
|
275001
|
+
"Equity",
|
|
275002
|
+
"EquityFactory",
|
|
275003
|
+
"StableCoin",
|
|
275004
|
+
"StableCoinFactory"
|
|
275222
275005
|
])).action(async (name2, {
|
|
275223
275006
|
application,
|
|
275224
275007
|
blockchainNode,
|
|
@@ -275535,7 +275318,7 @@ function getDeleteCommand({
|
|
|
275535
275318
|
description: `Force deletes the specified ${type4} without confirmation`,
|
|
275536
275319
|
command: `platform delete ${type4} <${type4}-unique-name> --force`
|
|
275537
275320
|
}
|
|
275538
|
-
])).argument("<
|
|
275321
|
+
])).argument("<unique-name>", `The unique name of the ${type4}, use 'default' to delete the default one from your .env file`).option("-a, --accept-defaults", "Accept the default and previously set values").option("--prod", "Connect to your production environment").option("-f, --force", `Force delete the ${type4} without confirmation`).action(async (uniqueName, { acceptDefaults, prod, force }) => {
|
|
275539
275322
|
intro2(`Deleting ${type4} in the SettleMint platform`);
|
|
275540
275323
|
if (!force) {
|
|
275541
275324
|
await deleteConfirmationPrompt(`this ${type4}`);
|
|
@@ -275573,9 +275356,6 @@ function getDeleteCommand({
|
|
|
275573
275356
|
await writeEnvSpinner(!!prod, newEnv);
|
|
275574
275357
|
note(`${capitalizeFirstLetter(type4)} removed as default`);
|
|
275575
275358
|
}
|
|
275576
|
-
if (wait) {
|
|
275577
|
-
await waitForCompletion({ settlemint, type: type4, uniqueName: serviceUniqueName, action: "destroy" });
|
|
275578
|
-
}
|
|
275579
275359
|
outro(`${capitalizeFirstLetter(type4)} ${result.name} deleted successfully`);
|
|
275580
275360
|
});
|
|
275581
275361
|
}
|
|
@@ -275636,7 +275416,7 @@ function getRestartCommand({
|
|
|
275636
275416
|
description: `Restarts the default ${type4} in the production environment`,
|
|
275637
275417
|
command: `platform restart ${commandName}${subType ? ` ${subType}` : ""} default --prod`
|
|
275638
275418
|
}
|
|
275639
|
-
])).argument("<
|
|
275419
|
+
])).argument("<unique-name>", `The unique name of the ${type4}, use 'default' to restart the default one from your .env file`).option("-a, --accept-defaults", "Accept the default and previously set values").option("--prod", "Connect to your production environment").option("-w, --wait", "Wait until restarted").action(async (uniqueName, { acceptDefaults, prod, wait }) => {
|
|
275640
275420
|
intro(`Restarting ${type4} in the SettleMint platform`);
|
|
275641
275421
|
const autoAccept = !!acceptDefaults || is_in_ci_default;
|
|
275642
275422
|
const env2 = await loadEnv2(false, !!prod);
|
|
@@ -275825,7 +275605,7 @@ function restartCommand() {
|
|
|
275825
275605
|
|
|
275826
275606
|
// src/commands/platform/custom-deployments/update.ts
|
|
275827
275607
|
function customDeploymentsUpdateCommand() {
|
|
275828
|
-
return new Command("custom-deployment").alias("
|
|
275608
|
+
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").action(async (tag, { uniqueName, prod, wait }) => {
|
|
275829
275609
|
intro("Updating custom deployment in the SettleMint platform");
|
|
275830
275610
|
const env2 = await loadEnv2(false, !!prod);
|
|
275831
275611
|
const customDeploymentUniqueName = uniqueName ?? env2.SETTLEMINT_CUSTOM_DEPLOYMENT;
|
|
@@ -276123,7 +275903,20 @@ function mapPassthroughOptions(options, command) {
|
|
|
276123
275903
|
|
|
276124
275904
|
// src/commands/smart-contract-set/foundry/build.ts
|
|
276125
275905
|
function foundryBuildCommand() {
|
|
276126
|
-
return new Command("build").description("Build the smart contracts using Foundry/forge").
|
|
275906
|
+
return new Command("build").description("Build the smart contracts using Foundry/forge").usage(createExamples([
|
|
275907
|
+
{
|
|
275908
|
+
description: "Build the smart contracts using Foundry",
|
|
275909
|
+
command: "scs foundry build"
|
|
275910
|
+
},
|
|
275911
|
+
{
|
|
275912
|
+
description: "Get list of possible Forge build options",
|
|
275913
|
+
command: "scs foundry build --help"
|
|
275914
|
+
},
|
|
275915
|
+
{
|
|
275916
|
+
description: "Build the smart contracts with additional Forge options",
|
|
275917
|
+
command: "scs foundry build --optimize --force"
|
|
275918
|
+
}
|
|
275919
|
+
])).helpOption(false).option("-h, --help", "Get list of possible forge options").passThroughOptions().allowUnknownOption(true).action(async (passThroughOptions, cmd2) => {
|
|
276127
275920
|
const forgeOptions = mapPassthroughOptions(passThroughOptions, cmd2);
|
|
276128
275921
|
await executeCommand("forge", ["build", ...forgeOptions]);
|
|
276129
275922
|
});
|
|
@@ -276131,7 +275924,20 @@ function foundryBuildCommand() {
|
|
|
276131
275924
|
|
|
276132
275925
|
// src/commands/smart-contract-set/foundry/format.ts
|
|
276133
275926
|
function foundryFormatCommand() {
|
|
276134
|
-
return new Command("format").description("Format the smart contracts using Foundry/forge").
|
|
275927
|
+
return new Command("format").description("Format the smart contracts using Foundry/forge").usage(createExamples([
|
|
275928
|
+
{
|
|
275929
|
+
description: "Format the smart contracts using Foundry",
|
|
275930
|
+
command: "scs foundry format"
|
|
275931
|
+
},
|
|
275932
|
+
{
|
|
275933
|
+
description: "Get list of possible Forge format options",
|
|
275934
|
+
command: "scs foundry format --help"
|
|
275935
|
+
},
|
|
275936
|
+
{
|
|
275937
|
+
description: "Format the smart contracts with additional Forge options",
|
|
275938
|
+
command: "scs foundry format --check"
|
|
275939
|
+
}
|
|
275940
|
+
])).helpOption(false).option("-h, --help", "Get list of possible forge options").passThroughOptions().allowUnknownOption(true).action(async (passThroughOptions, cmd2) => {
|
|
276135
275941
|
const forgeOptions = mapPassthroughOptions(passThroughOptions, cmd2);
|
|
276136
275942
|
await executeCommand("forge", ["fmt", ...forgeOptions]);
|
|
276137
275943
|
note("Smart contract set formatted successfully!");
|
|
@@ -276140,7 +275946,20 @@ function foundryFormatCommand() {
|
|
|
276140
275946
|
|
|
276141
275947
|
// src/commands/smart-contract-set/foundry/network.ts
|
|
276142
275948
|
function foundryNetworkCommand() {
|
|
276143
|
-
return new Command("network").description("Start a development network Foundry/anvil").
|
|
275949
|
+
return new Command("network").description("Start a development network Foundry/anvil").usage(createExamples([
|
|
275950
|
+
{
|
|
275951
|
+
description: "Start a development network using Foundry",
|
|
275952
|
+
command: "scs foundry network"
|
|
275953
|
+
},
|
|
275954
|
+
{
|
|
275955
|
+
description: "Get list of possible Anvil options",
|
|
275956
|
+
command: "scs foundry network --help"
|
|
275957
|
+
},
|
|
275958
|
+
{
|
|
275959
|
+
description: "Start a development network using Foundry with a specific port",
|
|
275960
|
+
command: "scs foundry network --port 3000"
|
|
275961
|
+
}
|
|
275962
|
+
])).helpOption(false).option("-h, --help", "Get list of possible anvil options").passThroughOptions().allowUnknownOption(true).action(async (passThroughOptions, cmd2) => {
|
|
276144
275963
|
const anvilOptions = mapPassthroughOptions(passThroughOptions, cmd2);
|
|
276145
275964
|
await executeCommand("anvil", anvilOptions);
|
|
276146
275965
|
});
|
|
@@ -276148,7 +275967,20 @@ function foundryNetworkCommand() {
|
|
|
276148
275967
|
|
|
276149
275968
|
// src/commands/smart-contract-set/foundry/test.ts
|
|
276150
275969
|
function foundryTestCommand() {
|
|
276151
|
-
return new Command("test").description("Test the smart contracts using Foundry/forge").
|
|
275970
|
+
return new Command("test").description("Test the smart contracts using Foundry/forge").usage(createExamples([
|
|
275971
|
+
{
|
|
275972
|
+
description: "Run tests using Foundry",
|
|
275973
|
+
command: "scs foundry test"
|
|
275974
|
+
},
|
|
275975
|
+
{
|
|
275976
|
+
description: "Get list of possible Forge test options",
|
|
275977
|
+
command: "scs foundry test --help"
|
|
275978
|
+
},
|
|
275979
|
+
{
|
|
275980
|
+
description: "Run a specific test function",
|
|
275981
|
+
command: "scs foundry test --match-test testToken"
|
|
275982
|
+
}
|
|
275983
|
+
])).helpOption(false).option("-h, --help", "Get list of possible forge options").passThroughOptions().allowUnknownOption(true).action(async (passThroughOptions, cmd2) => {
|
|
276152
275984
|
const forgeOptions = mapPassthroughOptions(passThroughOptions, cmd2);
|
|
276153
275985
|
await executeCommand("forge", ["test", ...forgeOptions]);
|
|
276154
275986
|
});
|
|
@@ -276156,7 +275988,20 @@ function foundryTestCommand() {
|
|
|
276156
275988
|
|
|
276157
275989
|
// src/commands/smart-contract-set/hardhat/build.ts
|
|
276158
275990
|
function hardhatBuildCommand() {
|
|
276159
|
-
return new Command("build").description("Build the smart contracts using Hardhat").
|
|
275991
|
+
return new Command("build").description("Build the smart contracts using Hardhat").usage(createExamples([
|
|
275992
|
+
{
|
|
275993
|
+
description: "Build the smart contracts using Hardhat",
|
|
275994
|
+
command: "scs hardhat build"
|
|
275995
|
+
},
|
|
275996
|
+
{
|
|
275997
|
+
description: "Get list of possible Hardhat compile options",
|
|
275998
|
+
command: "scs hardhat build --help"
|
|
275999
|
+
},
|
|
276000
|
+
{
|
|
276001
|
+
description: "Build the smart contracts using additional options to the Hardhat compile command",
|
|
276002
|
+
command: "scs hardhat build --concurrency 2"
|
|
276003
|
+
}
|
|
276004
|
+
])).helpOption(false).option("-h, --help", "Get list of possible hardhat compile options").passThroughOptions().allowUnknownOption(true).action(async (passThroughOptions, cmd2) => {
|
|
276160
276005
|
const hardhatOptions = mapPassthroughOptions(passThroughOptions, cmd2);
|
|
276161
276006
|
const { command, args } = await getPackageManagerExecutable();
|
|
276162
276007
|
await executeCommand(command, [...args, "hardhat", "compile", ...hardhatOptions]);
|
|
@@ -276165,7 +276010,24 @@ function hardhatBuildCommand() {
|
|
|
276165
276010
|
|
|
276166
276011
|
// src/commands/smart-contract-set/hardhat/deploy/local.ts
|
|
276167
276012
|
function hardhatDeployLocalCommand() {
|
|
276168
|
-
return new Command("local").description("Deploy the smart contracts using Hardhat/ignition to the local development network").
|
|
276013
|
+
return new Command("local").description("Deploy the smart contracts using Hardhat/ignition to the local development network").usage(createExamples([
|
|
276014
|
+
{
|
|
276015
|
+
description: "Deploy smart contracts to local network using Hardhat/Ignition",
|
|
276016
|
+
command: "scs hardhat deploy local"
|
|
276017
|
+
},
|
|
276018
|
+
{
|
|
276019
|
+
description: "Deploy a specific Ignition module",
|
|
276020
|
+
command: "scs hardhat deploy local --module ignition/modules/custom.ts"
|
|
276021
|
+
},
|
|
276022
|
+
{
|
|
276023
|
+
description: "Deploy with a clean deployment state",
|
|
276024
|
+
command: "scs hardhat deploy local --reset"
|
|
276025
|
+
},
|
|
276026
|
+
{
|
|
276027
|
+
description: "Deploy and verify contracts on Etherscan",
|
|
276028
|
+
command: "scs hardhat deploy local --verify"
|
|
276029
|
+
}
|
|
276030
|
+
])).option("-m, --module <ignitionmodule>", 'The module to deploy with Ignition, defaults to "ignition/modules/main.ts"').option("-r, --reset", "Wipes the existing deployment state before deploying").option("-v, --verify", "Verify the deployment on Etherscan").action(async ({ module, reset: reset2, verify }) => {
|
|
276169
276031
|
const { command, args } = await getPackageManagerExecutable();
|
|
276170
276032
|
await executeCommand(command, [
|
|
276171
276033
|
...args,
|
|
@@ -276244,7 +276106,32 @@ function isHardhatConfig(config4) {
|
|
|
276244
276106
|
|
|
276245
276107
|
// src/commands/smart-contract-set/hardhat/deploy/remote.ts
|
|
276246
276108
|
function hardhatDeployRemoteCommand() {
|
|
276247
|
-
const cmd2 = new Command("remote").description("Deploy the smart contracts using Hardhat/ignition to the remote network on the platform").
|
|
276109
|
+
const cmd2 = new Command("remote").description("Deploy the smart contracts using Hardhat/ignition to the remote network on the platform").usage(createExamples([
|
|
276110
|
+
{
|
|
276111
|
+
description: "Deploy smart contracts to remote network using Hardhat/Ignition",
|
|
276112
|
+
command: "scs hardhat deploy remote"
|
|
276113
|
+
},
|
|
276114
|
+
{
|
|
276115
|
+
description: "Deploy a specific Ignition module to remote network",
|
|
276116
|
+
command: "scs hardhat deploy remote --module ignition/modules/custom.ts"
|
|
276117
|
+
},
|
|
276118
|
+
{
|
|
276119
|
+
description: "Deploy with a clean deployment state to remote network",
|
|
276120
|
+
command: "scs hardhat deploy remote --reset"
|
|
276121
|
+
},
|
|
276122
|
+
{
|
|
276123
|
+
description: "Deploy and verify contracts on remote network",
|
|
276124
|
+
command: "scs hardhat deploy remote --verify"
|
|
276125
|
+
},
|
|
276126
|
+
{
|
|
276127
|
+
description: "Deploy to remote network with specific blockchain node",
|
|
276128
|
+
command: "scs hardhat deploy remote --blockchain-node my-node"
|
|
276129
|
+
},
|
|
276130
|
+
{
|
|
276131
|
+
description: "Deploy to production environment",
|
|
276132
|
+
command: "scs hardhat deploy remote --prod"
|
|
276133
|
+
}
|
|
276134
|
+
])).option("-m, --module <ignitionmodule>", 'The module to deploy with Ignition, defaults to "ignition/modules/main.ts"').option("--deployment-id <deploymentId>", "Set the id of the deployment").option("-r, --reset", "Wipes the existing deployment state before deploying").option("-v, --verify", "Verify the deployment on Etherscan").option("--default-sender <defaultSender>", "Set the default sender for the deployment").option("--parameters <parameters>", "A relative path to a JSON file to use for the module parameters").option("--strategy <strategy>", `Set the deployment strategy to use (default: "basic")`).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");
|
|
276248
276135
|
cmd2.action(async ({
|
|
276249
276136
|
module,
|
|
276250
276137
|
reset: reset2,
|
|
@@ -276324,7 +276211,7 @@ function hardhatDeployRemoteCommand() {
|
|
|
276324
276211
|
|
|
276325
276212
|
// src/commands/smart-contract-set/hardhat/deploy.ts
|
|
276326
276213
|
function hardhatDeployCommand() {
|
|
276327
|
-
const deploy = new Command("deploy");
|
|
276214
|
+
const deploy = new Command("deploy").description("Deploy the smart contracts using Hardhat");
|
|
276328
276215
|
deploy.addCommand(hardhatDeployLocalCommand());
|
|
276329
276216
|
deploy.addCommand(hardhatDeployRemoteCommand());
|
|
276330
276217
|
return deploy;
|
|
@@ -276332,7 +276219,20 @@ function hardhatDeployCommand() {
|
|
|
276332
276219
|
|
|
276333
276220
|
// src/commands/smart-contract-set/hardhat/network.ts
|
|
276334
276221
|
function hardhatNetworkCommand() {
|
|
276335
|
-
return new Command("network").description("Start a development network using Hardhat").
|
|
276222
|
+
return new Command("network").description("Start a development network using Hardhat").usage(createExamples([
|
|
276223
|
+
{
|
|
276224
|
+
description: "Start a development network using Hardhat",
|
|
276225
|
+
command: "scs hardhat network"
|
|
276226
|
+
},
|
|
276227
|
+
{
|
|
276228
|
+
description: "Get list of possible Hardhat node options",
|
|
276229
|
+
command: "scs hardhat network --help"
|
|
276230
|
+
},
|
|
276231
|
+
{
|
|
276232
|
+
description: "Start a development network using Hardhat with a specific port",
|
|
276233
|
+
command: "scs hardhat network --port 3000"
|
|
276234
|
+
}
|
|
276235
|
+
])).helpOption(false).option("-h, --help", "Get list of possible hardhat node options").passThroughOptions().allowUnknownOption(true).action(async (passThroughOptions, cmd2) => {
|
|
276336
276236
|
const hardhatOptions = mapPassthroughOptions(passThroughOptions, cmd2);
|
|
276337
276237
|
const { command, args } = await getPackageManagerExecutable();
|
|
276338
276238
|
await executeCommand(command, [...args, "hardhat", "node", ...hardhatOptions]);
|
|
@@ -276389,7 +276289,7 @@ function hardhatScriptRemoteCommand() {
|
|
|
276389
276289
|
|
|
276390
276290
|
// src/commands/smart-contract-set/hardhat/script.ts
|
|
276391
276291
|
function hardhatScriptCommand() {
|
|
276392
|
-
const script = new Command("script");
|
|
276292
|
+
const script = new Command("script").description("Run a script using Hardhat");
|
|
276393
276293
|
script.addCommand(hardhatScriptRemoteCommand());
|
|
276394
276294
|
script.addCommand(hardhatScriptLocalCommand());
|
|
276395
276295
|
return script;
|
|
@@ -276397,7 +276297,24 @@ function hardhatScriptCommand() {
|
|
|
276397
276297
|
|
|
276398
276298
|
// src/commands/smart-contract-set/hardhat/test.ts
|
|
276399
276299
|
function hardhatTestCommand() {
|
|
276400
|
-
return new Command("test").description("Test the smart contracts using Hardhat").
|
|
276300
|
+
return new Command("test").description("Test the smart contracts using Hardhat").usage(createExamples([
|
|
276301
|
+
{
|
|
276302
|
+
description: "Run tests using Hardhat",
|
|
276303
|
+
command: "scs hardhat test"
|
|
276304
|
+
},
|
|
276305
|
+
{
|
|
276306
|
+
description: "Get list of possible Hardhat test options",
|
|
276307
|
+
command: "scs hardhat test --help"
|
|
276308
|
+
},
|
|
276309
|
+
{
|
|
276310
|
+
description: "Run tests and stop on the first test that fails",
|
|
276311
|
+
command: "scs hardhat test --bail"
|
|
276312
|
+
},
|
|
276313
|
+
{
|
|
276314
|
+
description: "Run a specific test file",
|
|
276315
|
+
command: "scs hardhat test test/token.test.ts"
|
|
276316
|
+
}
|
|
276317
|
+
])).helpOption(false).option("-h, --help", "Get list of possible hardhat test options").passThroughOptions().allowUnknownOption().action(async (options, cmd2) => {
|
|
276401
276318
|
const hardhatOptions = mapPassthroughOptions(options, cmd2);
|
|
276402
276319
|
const { command, args } = await getPackageManagerExecutable();
|
|
276403
276320
|
await executeCommand(command, [...args, "hardhat", "test", ...hardhatOptions]);
|
|
@@ -276669,7 +276586,16 @@ async function saveSubgraphName(sanitizedSubgraphName, env2, prod) {
|
|
|
276669
276586
|
|
|
276670
276587
|
// src/commands/smart-contract-set/subgraph/deploy.ts
|
|
276671
276588
|
function subgraphDeployCommand() {
|
|
276672
|
-
return new Command("deploy").description("Deploy the subgraph").
|
|
276589
|
+
return new Command("deploy").description("Deploy the subgraph").usage(createExamples([
|
|
276590
|
+
{
|
|
276591
|
+
description: "Deploy the subgraph",
|
|
276592
|
+
command: "scs subgraph deploy"
|
|
276593
|
+
},
|
|
276594
|
+
{
|
|
276595
|
+
description: "Deploy the subgraph with a specific name",
|
|
276596
|
+
command: "scs subgraph deploy my-subgraph"
|
|
276597
|
+
}
|
|
276598
|
+
])).option("-a, --accept-defaults", "Accept the default and previously set values").option("--prod", "Connect to your production environment").argument("[subgraph-name]", "The name of the subgraph to deploy (defaults to value in .env if not provided)").action(async (subgraphName, { prod, acceptDefaults }) => {
|
|
276673
276599
|
const autoAccept = !!acceptDefaults || is_in_ci_default;
|
|
276674
276600
|
const env2 = await loadEnv(false, !!prod);
|
|
276675
276601
|
const instance = await instancePrompt(env2, true);
|
|
@@ -276739,12 +276665,12 @@ async function updateSpecVersion(specVersion) {
|
|
|
276739
276665
|
|
|
276740
276666
|
// src/commands/smart-contract.set.ts
|
|
276741
276667
|
function smartContractSetCommand() {
|
|
276742
|
-
const foundry = new Command("foundry").alias("f").description("Foundry commands for building
|
|
276668
|
+
const foundry = new Command("foundry").alias("f").description("Foundry commands for building and testing smart contracts");
|
|
276743
276669
|
foundry.addCommand(foundryBuildCommand());
|
|
276744
276670
|
foundry.addCommand(foundryFormatCommand());
|
|
276745
276671
|
foundry.addCommand(foundryNetworkCommand());
|
|
276746
276672
|
foundry.addCommand(foundryTestCommand());
|
|
276747
|
-
const hardhat = new Command("hardhat").alias("h").description("Hardhat commands for
|
|
276673
|
+
const hardhat = new Command("hardhat").alias("h").description("Hardhat commands for building, testing and deploying smart contracts");
|
|
276748
276674
|
hardhat.addCommand(hardhatBuildCommand());
|
|
276749
276675
|
hardhat.addCommand(hardhatDeployCommand());
|
|
276750
276676
|
hardhat.addCommand(hardhatNetworkCommand());
|
|
@@ -276783,4 +276709,4 @@ function sdkCliCommand(exitOverride = undefined) {
|
|
|
276783
276709
|
ascii();
|
|
276784
276710
|
sdkCliCommand();
|
|
276785
276711
|
|
|
276786
|
-
//# debugId=
|
|
276712
|
+
//# debugId=AC640BE7212435DA64756E2164756E21
|