@lumerahq/cli 0.30.3-dev.1 → 0.30.3-dev.2
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
CHANGED
|
@@ -240,25 +240,25 @@ async function main() {
|
|
|
240
240
|
switch (command) {
|
|
241
241
|
// Resource commands
|
|
242
242
|
case "plan":
|
|
243
|
-
await import("./resources-
|
|
243
|
+
await import("./resources-WUHGNK7K.js").then((m) => m.plan(args.slice(1)));
|
|
244
244
|
break;
|
|
245
245
|
case "apply":
|
|
246
|
-
await import("./resources-
|
|
246
|
+
await import("./resources-WUHGNK7K.js").then((m) => m.apply(args.slice(1)));
|
|
247
247
|
break;
|
|
248
248
|
case "pull":
|
|
249
|
-
await import("./resources-
|
|
249
|
+
await import("./resources-WUHGNK7K.js").then((m) => m.pull(args.slice(1)));
|
|
250
250
|
break;
|
|
251
251
|
case "destroy":
|
|
252
|
-
await import("./resources-
|
|
252
|
+
await import("./resources-WUHGNK7K.js").then((m) => m.destroy(args.slice(1)));
|
|
253
253
|
break;
|
|
254
254
|
case "list":
|
|
255
|
-
await import("./resources-
|
|
255
|
+
await import("./resources-WUHGNK7K.js").then((m) => m.list(args.slice(1)));
|
|
256
256
|
break;
|
|
257
257
|
case "show":
|
|
258
|
-
await import("./resources-
|
|
258
|
+
await import("./resources-WUHGNK7K.js").then((m) => m.show(args.slice(1)));
|
|
259
259
|
break;
|
|
260
260
|
case "diff":
|
|
261
|
-
await import("./resources-
|
|
261
|
+
await import("./resources-WUHGNK7K.js").then((m) => m.diff(args.slice(1)));
|
|
262
262
|
break;
|
|
263
263
|
// Development
|
|
264
264
|
case "dev":
|
|
@@ -64,12 +64,13 @@ function apiCompileDiagnostics(err) {
|
|
|
64
64
|
return [{ message: detail }];
|
|
65
65
|
}
|
|
66
66
|
function compileError(target, diagnostic) {
|
|
67
|
-
const position = diagnostic.line ? ` at
|
|
67
|
+
const position = diagnostic.line ? ` at line ${diagnostic.line}${diagnostic.column ? `, column ${diagnostic.column}` : ""}` : "";
|
|
68
68
|
return {
|
|
69
69
|
ruleId: "agent-policy-compile",
|
|
70
70
|
target,
|
|
71
71
|
severity: "error",
|
|
72
|
-
message: `Agent policy failed to compile${position}: ${diagnostic.message}
|
|
72
|
+
message: `Agent policy failed to compile${position}: ${diagnostic.message}`,
|
|
73
|
+
line: diagnostic.line
|
|
73
74
|
};
|
|
74
75
|
}
|
|
75
76
|
var agentPolicyCompileRule = {
|