@chainalert/cli 0.0.5 → 0.0.7
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/{alerts-3PPV43JZ.js → alerts-A4JRQCLK.js} +3 -3
- package/dist/{auth-YTQPDHBH.js → auth-7OZWY3X6.js} +3 -3
- package/dist/{channels-NT6NNET7.js → channels-ZWM4V4IY.js} +4 -4
- package/dist/{chunk-6FDEYAAT.js → chunk-56X2ZTGI.js} +9 -0
- package/dist/{chunk-FRKJPHES.js → chunk-6UQNOATA.js} +1 -1
- package/dist/{chunk-BEHAHSK3.js → chunk-EFBDPLN6.js} +1 -1
- package/dist/{chunk-4WIKOXYN.js → chunk-WLYXQAVD.js} +1 -1
- package/dist/{contracts-AD7PNBBN.js → contracts-VMLCMOWK.js} +3 -3
- package/dist/{detections-KMOYIRPE.js → detections-RPFREWAR.js} +4 -4
- package/dist/{events-6RZPVNDF.js → events-QOKLHOZ4.js} +3 -3
- package/dist/{health-LZOEYRFT.js → health-IXDRGD74.js} +3 -3
- package/dist/index.js +16 -16
- package/dist/{networks-X6W43DTO.js → networks-APXCBF56.js} +3 -3
- package/dist/{org-contracts-CJASTL5O.js → org-contracts-AI4URE6M.js} +3 -3
- package/dist/{repl-LJY4YK5T.js → repl-RJAFAMDX.js} +14 -10
- package/dist/{rpc-configs-Q5J3BMH2.js → rpc-configs-YAYA5RO3.js} +3 -3
- package/dist/{state-changes-UNTPB4O2.js → state-changes-FXN3D5B6.js} +3 -3
- package/dist/{templates-QD6XFBKS.js → templates-THI72WIU.js} +3 -3
- package/package.json +1 -1
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
getAlert,
|
|
7
7
|
getAlertStats,
|
|
8
8
|
listAlerts
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-EFBDPLN6.js";
|
|
10
|
+
import "./chunk-WLYXQAVD.js";
|
|
11
11
|
import {
|
|
12
12
|
dim,
|
|
13
13
|
print,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
printJson,
|
|
16
16
|
printKV,
|
|
17
17
|
printTable
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6UQNOATA.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/alerts.ts
|
|
21
21
|
async function run(args, flags) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
ask
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-56X2ZTGI.js";
|
|
5
5
|
import {
|
|
6
6
|
loadConfig,
|
|
7
7
|
saveConfig
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WLYXQAVD.js";
|
|
9
9
|
import {
|
|
10
10
|
dim,
|
|
11
11
|
print,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
printJson,
|
|
14
14
|
printKV,
|
|
15
15
|
printSuccess
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6UQNOATA.js";
|
|
17
17
|
|
|
18
18
|
// src/commands/auth.ts
|
|
19
19
|
async function run(args, flags) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
confirm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-56X2ZTGI.js";
|
|
5
5
|
import {
|
|
6
6
|
spinner
|
|
7
7
|
} from "./chunk-CE4DKHAY.js";
|
|
@@ -10,15 +10,15 @@ import {
|
|
|
10
10
|
deleteChannel,
|
|
11
11
|
listChannels,
|
|
12
12
|
testChannel
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-EFBDPLN6.js";
|
|
14
|
+
import "./chunk-WLYXQAVD.js";
|
|
15
15
|
import {
|
|
16
16
|
print,
|
|
17
17
|
printError,
|
|
18
18
|
printJson,
|
|
19
19
|
printSuccess,
|
|
20
20
|
printTable
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-6UQNOATA.js";
|
|
22
22
|
|
|
23
23
|
// src/commands/channels.ts
|
|
24
24
|
async function run(args, flags) {
|
|
@@ -2,26 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
// src/util/prompt.ts
|
|
4
4
|
import { createInterface } from "readline";
|
|
5
|
+
var replRl = null;
|
|
6
|
+
function setReplRl(rl) {
|
|
7
|
+
replRl = rl;
|
|
8
|
+
}
|
|
5
9
|
function confirm(question) {
|
|
10
|
+
if (replRl) replRl.pause();
|
|
6
11
|
const rl = createInterface({ input: process.stdin, output: process.stderr });
|
|
7
12
|
return new Promise((resolve) => {
|
|
8
13
|
rl.question(`${question} [y/N] `, (answer) => {
|
|
9
14
|
rl.close();
|
|
15
|
+
if (replRl) replRl.resume();
|
|
10
16
|
resolve(answer.trim().toLowerCase() === "y");
|
|
11
17
|
});
|
|
12
18
|
});
|
|
13
19
|
}
|
|
14
20
|
function ask(question) {
|
|
21
|
+
if (replRl) replRl.pause();
|
|
15
22
|
const rl = createInterface({ input: process.stdin, output: process.stderr });
|
|
16
23
|
return new Promise((resolve) => {
|
|
17
24
|
rl.question(question, (answer) => {
|
|
18
25
|
rl.close();
|
|
26
|
+
if (replRl) replRl.resume();
|
|
19
27
|
resolve(answer.trim());
|
|
20
28
|
});
|
|
21
29
|
});
|
|
22
30
|
}
|
|
23
31
|
|
|
24
32
|
export {
|
|
33
|
+
setReplRl,
|
|
25
34
|
confirm,
|
|
26
35
|
ask
|
|
27
36
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// src/config/constants.ts
|
|
4
4
|
import { homedir } from "os";
|
|
5
5
|
import { join } from "path";
|
|
6
|
-
var VERSION = "0.0.
|
|
6
|
+
var VERSION = true ? "0.0.7" : "0.0.0-dev";
|
|
7
7
|
var DEFAULT_API_URL = "https://chainalert.dev/api";
|
|
8
8
|
var CONFIG_DIR = join(homedir(), ".chainalert");
|
|
9
9
|
var CONFIG_FILE = join(CONFIG_DIR, "config.json");
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
getStorageSlots,
|
|
7
7
|
resolveContract
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-EFBDPLN6.js";
|
|
9
|
+
import "./chunk-WLYXQAVD.js";
|
|
10
10
|
import {
|
|
11
11
|
bold,
|
|
12
12
|
dim,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
printError,
|
|
15
15
|
printJson,
|
|
16
16
|
printKV
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6UQNOATA.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/contracts.ts
|
|
20
20
|
async function run(args, flags) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
confirm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-56X2ZTGI.js";
|
|
5
5
|
import {
|
|
6
6
|
spinner
|
|
7
7
|
} from "./chunk-CE4DKHAY.js";
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
listDetections,
|
|
13
13
|
testDetection,
|
|
14
14
|
updateDetection
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-EFBDPLN6.js";
|
|
16
|
+
import "./chunk-WLYXQAVD.js";
|
|
17
17
|
import {
|
|
18
18
|
bold,
|
|
19
19
|
dim,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
printTable,
|
|
27
27
|
red,
|
|
28
28
|
yellow
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-6UQNOATA.js";
|
|
30
30
|
|
|
31
31
|
// src/commands/detections.ts
|
|
32
32
|
async function run(args, flags) {
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
getEvent,
|
|
7
7
|
listEvents
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-EFBDPLN6.js";
|
|
9
|
+
import "./chunk-WLYXQAVD.js";
|
|
10
10
|
import {
|
|
11
11
|
dim,
|
|
12
12
|
print,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
printJson,
|
|
15
15
|
printKV,
|
|
16
16
|
printTable
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6UQNOATA.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/events.ts
|
|
20
20
|
async function run(args, flags) {
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
} from "./chunk-CE4DKHAY.js";
|
|
5
5
|
import {
|
|
6
6
|
getHealth
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-EFBDPLN6.js";
|
|
8
|
+
import "./chunk-WLYXQAVD.js";
|
|
9
9
|
import {
|
|
10
10
|
print,
|
|
11
11
|
printError,
|
|
12
12
|
printJson,
|
|
13
13
|
printSuccess,
|
|
14
14
|
red
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6UQNOATA.js";
|
|
16
16
|
|
|
17
17
|
// src/commands/health.ts
|
|
18
18
|
async function run(args, flags) {
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
bold,
|
|
5
5
|
print,
|
|
6
6
|
printError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6UQNOATA.js";
|
|
8
8
|
|
|
9
9
|
// src/index.ts
|
|
10
10
|
function parseArgs(argv) {
|
|
@@ -67,12 +67,12 @@ async function main() {
|
|
|
67
67
|
switch (root) {
|
|
68
68
|
// No command or "chat" -> interactive REPL
|
|
69
69
|
case void 0: {
|
|
70
|
-
const { startRepl } = await import("./repl-
|
|
70
|
+
const { startRepl } = await import("./repl-RJAFAMDX.js");
|
|
71
71
|
await startRepl();
|
|
72
72
|
return;
|
|
73
73
|
}
|
|
74
74
|
case "chat": {
|
|
75
|
-
const { startRepl } = await import("./repl-
|
|
75
|
+
const { startRepl } = await import("./repl-RJAFAMDX.js");
|
|
76
76
|
await startRepl();
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
@@ -80,68 +80,68 @@ async function main() {
|
|
|
80
80
|
case "login":
|
|
81
81
|
case "logout":
|
|
82
82
|
case "whoami": {
|
|
83
|
-
const auth = await import("./auth-
|
|
83
|
+
const auth = await import("./auth-7OZWY3X6.js");
|
|
84
84
|
await auth.run([root, ...rest], flags);
|
|
85
85
|
return;
|
|
86
86
|
}
|
|
87
87
|
case "config": {
|
|
88
|
-
const auth = await import("./auth-
|
|
88
|
+
const auth = await import("./auth-7OZWY3X6.js");
|
|
89
89
|
await auth.runConfig(rest, flags);
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
92
|
// Resource commands
|
|
93
93
|
case "health": {
|
|
94
|
-
const mod = await import("./health-
|
|
94
|
+
const mod = await import("./health-IXDRGD74.js");
|
|
95
95
|
await mod.run(rest, flags);
|
|
96
96
|
return;
|
|
97
97
|
}
|
|
98
98
|
case "networks": {
|
|
99
|
-
const mod = await import("./networks-
|
|
99
|
+
const mod = await import("./networks-APXCBF56.js");
|
|
100
100
|
await mod.run(rest, flags);
|
|
101
101
|
return;
|
|
102
102
|
}
|
|
103
103
|
case "templates": {
|
|
104
|
-
const mod = await import("./templates-
|
|
104
|
+
const mod = await import("./templates-THI72WIU.js");
|
|
105
105
|
await mod.run(rest, flags);
|
|
106
106
|
return;
|
|
107
107
|
}
|
|
108
108
|
case "detections": {
|
|
109
|
-
const mod = await import("./detections-
|
|
109
|
+
const mod = await import("./detections-RPFREWAR.js");
|
|
110
110
|
await mod.run(rest, flags);
|
|
111
111
|
return;
|
|
112
112
|
}
|
|
113
113
|
case "alerts": {
|
|
114
|
-
const mod = await import("./alerts-
|
|
114
|
+
const mod = await import("./alerts-A4JRQCLK.js");
|
|
115
115
|
await mod.run(rest, flags);
|
|
116
116
|
return;
|
|
117
117
|
}
|
|
118
118
|
case "events": {
|
|
119
|
-
const mod = await import("./events-
|
|
119
|
+
const mod = await import("./events-QOKLHOZ4.js");
|
|
120
120
|
await mod.run(rest, flags);
|
|
121
121
|
return;
|
|
122
122
|
}
|
|
123
123
|
case "state-changes": {
|
|
124
|
-
const mod = await import("./state-changes-
|
|
124
|
+
const mod = await import("./state-changes-FXN3D5B6.js");
|
|
125
125
|
await mod.run(rest, flags);
|
|
126
126
|
return;
|
|
127
127
|
}
|
|
128
128
|
case "channels": {
|
|
129
|
-
const mod = await import("./channels-
|
|
129
|
+
const mod = await import("./channels-ZWM4V4IY.js");
|
|
130
130
|
await mod.run(rest, flags);
|
|
131
131
|
return;
|
|
132
132
|
}
|
|
133
133
|
case "contracts": {
|
|
134
|
-
const mod = await import("./contracts-
|
|
134
|
+
const mod = await import("./contracts-VMLCMOWK.js");
|
|
135
135
|
await mod.run(rest, flags);
|
|
136
136
|
return;
|
|
137
137
|
}
|
|
138
138
|
case "org-contracts": {
|
|
139
|
-
const mod = await import("./org-contracts-
|
|
139
|
+
const mod = await import("./org-contracts-AI4URE6M.js");
|
|
140
140
|
await mod.run(rest, flags);
|
|
141
141
|
return;
|
|
142
142
|
}
|
|
143
143
|
case "rpc-configs": {
|
|
144
|
-
const mod = await import("./rpc-configs-
|
|
144
|
+
const mod = await import("./rpc-configs-YAYA5RO3.js");
|
|
145
145
|
await mod.run(rest, flags);
|
|
146
146
|
return;
|
|
147
147
|
}
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
} from "./chunk-CE4DKHAY.js";
|
|
5
5
|
import {
|
|
6
6
|
listNetworks
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-EFBDPLN6.js";
|
|
8
|
+
import "./chunk-WLYXQAVD.js";
|
|
9
9
|
import {
|
|
10
10
|
print,
|
|
11
11
|
printError,
|
|
12
12
|
printJson,
|
|
13
13
|
printTable
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6UQNOATA.js";
|
|
15
15
|
|
|
16
16
|
// src/commands/networks.ts
|
|
17
17
|
async function run(args, flags) {
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
getOrgContractTraits,
|
|
8
8
|
listOrgContracts,
|
|
9
9
|
registerOrgContract
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-EFBDPLN6.js";
|
|
11
|
+
import "./chunk-WLYXQAVD.js";
|
|
12
12
|
import {
|
|
13
13
|
dim,
|
|
14
14
|
print,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
printKV,
|
|
18
18
|
printSuccess,
|
|
19
19
|
printTable
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6UQNOATA.js";
|
|
21
21
|
|
|
22
22
|
// src/commands/org-contracts.ts
|
|
23
23
|
async function run(args, flags) {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
confirm
|
|
4
|
-
|
|
3
|
+
confirm,
|
|
4
|
+
setReplRl
|
|
5
|
+
} from "./chunk-56X2ZTGI.js";
|
|
5
6
|
import {
|
|
6
7
|
addRpcConfig,
|
|
7
8
|
createChannel,
|
|
@@ -28,12 +29,12 @@ import {
|
|
|
28
29
|
testChannel,
|
|
29
30
|
testDetection,
|
|
30
31
|
updateDetection
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-EFBDPLN6.js";
|
|
32
33
|
import {
|
|
33
34
|
getApiKey,
|
|
34
35
|
getApiUrl,
|
|
35
36
|
loadConfig
|
|
36
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-WLYXQAVD.js";
|
|
37
38
|
import {
|
|
38
39
|
bold,
|
|
39
40
|
cyan,
|
|
@@ -42,7 +43,7 @@ import {
|
|
|
42
43
|
printDim,
|
|
43
44
|
printError,
|
|
44
45
|
printWarn
|
|
45
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-6UQNOATA.js";
|
|
46
47
|
|
|
47
48
|
// src/repl/repl.ts
|
|
48
49
|
import { createInterface } from "readline";
|
|
@@ -128,7 +129,7 @@ var registry = [
|
|
|
128
129
|
},
|
|
129
130
|
networkSlug: {
|
|
130
131
|
type: "string",
|
|
131
|
-
description: 'Filter by network slug, e.g. "ethereum
|
|
132
|
+
description: 'Filter by network slug, e.g. "ethereum", "arbitrum", "base", "polygon", "sepolia".'
|
|
132
133
|
},
|
|
133
134
|
page: { type: "number", description: "Page number (1-based)." },
|
|
134
135
|
limit: { type: "number", description: "Results per page (default 20, max 100)." }
|
|
@@ -167,7 +168,7 @@ var registry = [
|
|
|
167
168
|
},
|
|
168
169
|
networkId: {
|
|
169
170
|
type: "string",
|
|
170
|
-
description: 'The network
|
|
171
|
+
description: 'The network slug to monitor, e.g. "ethereum", "arbitrum", "base", "polygon", "sepolia".'
|
|
171
172
|
},
|
|
172
173
|
inputs: {
|
|
173
174
|
type: "object",
|
|
@@ -463,7 +464,7 @@ var registry = [
|
|
|
463
464
|
},
|
|
464
465
|
networkId: {
|
|
465
466
|
type: "string",
|
|
466
|
-
description: 'The network
|
|
467
|
+
description: 'The network slug, e.g. "ethereum", "arbitrum", "base", "polygon", "sepolia".'
|
|
467
468
|
}
|
|
468
469
|
},
|
|
469
470
|
required: ["address", "networkId"]
|
|
@@ -514,7 +515,7 @@ var registry = [
|
|
|
514
515
|
},
|
|
515
516
|
networkId: {
|
|
516
517
|
type: "string",
|
|
517
|
-
description: 'The network
|
|
518
|
+
description: 'The network slug, e.g. "ethereum", "arbitrum", "base", "polygon", "sepolia".'
|
|
518
519
|
},
|
|
519
520
|
label: {
|
|
520
521
|
type: "string",
|
|
@@ -543,7 +544,7 @@ var registry = [
|
|
|
543
544
|
properties: {
|
|
544
545
|
networkId: {
|
|
545
546
|
type: "string",
|
|
546
|
-
description: 'The network
|
|
547
|
+
description: 'The network slug to configure, e.g. "ethereum", "arbitrum", "base", "polygon", "sepolia".'
|
|
547
548
|
},
|
|
548
549
|
rpcUrl: {
|
|
549
550
|
type: "string",
|
|
@@ -1554,6 +1555,7 @@ async function startRepl() {
|
|
|
1554
1555
|
output: process.stdout,
|
|
1555
1556
|
prompt: cyan("chainalert> ")
|
|
1556
1557
|
});
|
|
1558
|
+
setReplRl(rl);
|
|
1557
1559
|
rl.prompt();
|
|
1558
1560
|
rl.on("line", async (line) => {
|
|
1559
1561
|
const input = line.trim();
|
|
@@ -1583,6 +1585,7 @@ async function startRepl() {
|
|
|
1583
1585
|
rl.prompt();
|
|
1584
1586
|
return;
|
|
1585
1587
|
}
|
|
1588
|
+
rl.pause();
|
|
1586
1589
|
conversation.add({ role: "user", content: input });
|
|
1587
1590
|
try {
|
|
1588
1591
|
let done = false;
|
|
@@ -1628,6 +1631,7 @@ async function startRepl() {
|
|
|
1628
1631
|
} catch (err) {
|
|
1629
1632
|
printError(err.message ?? "AI request failed");
|
|
1630
1633
|
}
|
|
1634
|
+
rl.resume();
|
|
1631
1635
|
rl.prompt();
|
|
1632
1636
|
});
|
|
1633
1637
|
rl.on("close", () => {
|
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
addRpcConfig,
|
|
7
7
|
listRpcConfigs,
|
|
8
8
|
testRpcConfig
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-EFBDPLN6.js";
|
|
10
|
+
import "./chunk-WLYXQAVD.js";
|
|
11
11
|
import {
|
|
12
12
|
print,
|
|
13
13
|
printError,
|
|
14
14
|
printJson,
|
|
15
15
|
printSuccess,
|
|
16
16
|
printTable
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6UQNOATA.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/rpc-configs.ts
|
|
20
20
|
async function run(args, flags) {
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
} from "./chunk-CE4DKHAY.js";
|
|
5
5
|
import {
|
|
6
6
|
listStateChanges
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-EFBDPLN6.js";
|
|
8
|
+
import "./chunk-WLYXQAVD.js";
|
|
9
9
|
import {
|
|
10
10
|
dim,
|
|
11
11
|
print,
|
|
12
12
|
printError,
|
|
13
13
|
printJson,
|
|
14
14
|
printTable
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6UQNOATA.js";
|
|
16
16
|
|
|
17
17
|
// src/commands/state-changes.ts
|
|
18
18
|
async function run(args, flags) {
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
getTemplate,
|
|
7
7
|
listTemplates
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-EFBDPLN6.js";
|
|
9
|
+
import "./chunk-WLYXQAVD.js";
|
|
10
10
|
import {
|
|
11
11
|
bold,
|
|
12
12
|
dim,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
printJson,
|
|
16
16
|
printKV,
|
|
17
17
|
printTable
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6UQNOATA.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/templates.ts
|
|
21
21
|
async function run(args, flags) {
|