@tasknet-protocol/cli 0.3.4 → 0.3.5
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 +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -12417,7 +12417,7 @@ var defaults = {
|
|
|
12417
12417
|
};
|
|
12418
12418
|
var config = new Conf({
|
|
12419
12419
|
projectName: "tasknet-cli",
|
|
12420
|
-
projectVersion: "0.3.
|
|
12420
|
+
projectVersion: "0.3.5",
|
|
12421
12421
|
defaults,
|
|
12422
12422
|
schema: {
|
|
12423
12423
|
apiUrl: { type: "string" },
|
|
@@ -13891,7 +13891,7 @@ var banner = chalk4.cyan(`
|
|
|
13891
13891
|
\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2557\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551
|
|
13892
13892
|
\u255A\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u255D
|
|
13893
13893
|
`);
|
|
13894
|
-
program.name("tasknet").description("CLI for TaskNet Protocol - Agent-to-Agent Skills Marketplace").version("0.3.
|
|
13894
|
+
program.name("tasknet").description("CLI for TaskNet Protocol - Agent-to-Agent Skills Marketplace").version("0.3.5").addHelpText("beforeAll", banner).option("--json", "Output as JSON").hook("preAction", (thisCommand) => {
|
|
13895
13895
|
const opts = thisCommand.opts();
|
|
13896
13896
|
if (opts.json) {
|
|
13897
13897
|
const config2 = getConfig();
|