@lumerahq/cli 0.19.16 → 0.19.17-dev.0
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
|
@@ -219,25 +219,25 @@ async function main() {
|
|
|
219
219
|
switch (command) {
|
|
220
220
|
// Resource commands
|
|
221
221
|
case "plan":
|
|
222
|
-
await import("./resources-
|
|
222
|
+
await import("./resources-M6R2RFSW.js").then((m) => m.plan(args.slice(1)));
|
|
223
223
|
break;
|
|
224
224
|
case "apply":
|
|
225
|
-
await import("./resources-
|
|
225
|
+
await import("./resources-M6R2RFSW.js").then((m) => m.apply(args.slice(1)));
|
|
226
226
|
break;
|
|
227
227
|
case "pull":
|
|
228
|
-
await import("./resources-
|
|
228
|
+
await import("./resources-M6R2RFSW.js").then((m) => m.pull(args.slice(1)));
|
|
229
229
|
break;
|
|
230
230
|
case "destroy":
|
|
231
|
-
await import("./resources-
|
|
231
|
+
await import("./resources-M6R2RFSW.js").then((m) => m.destroy(args.slice(1)));
|
|
232
232
|
break;
|
|
233
233
|
case "list":
|
|
234
|
-
await import("./resources-
|
|
234
|
+
await import("./resources-M6R2RFSW.js").then((m) => m.list(args.slice(1)));
|
|
235
235
|
break;
|
|
236
236
|
case "show":
|
|
237
|
-
await import("./resources-
|
|
237
|
+
await import("./resources-M6R2RFSW.js").then((m) => m.show(args.slice(1)));
|
|
238
238
|
break;
|
|
239
239
|
case "diff":
|
|
240
|
-
await import("./resources-
|
|
240
|
+
await import("./resources-M6R2RFSW.js").then((m) => m.diff(args.slice(1)));
|
|
241
241
|
break;
|
|
242
242
|
// Development
|
|
243
243
|
case "dev":
|
|
@@ -3073,7 +3073,7 @@ async function plan(args) {
|
|
|
3073
3073
|
showPlanHelp();
|
|
3074
3074
|
return;
|
|
3075
3075
|
}
|
|
3076
|
-
const jsonOutput =
|
|
3076
|
+
const jsonOutput = process.env.LUMERA_JSON === "1";
|
|
3077
3077
|
const projectRoot = findProjectRoot();
|
|
3078
3078
|
loadEnv(projectRoot);
|
|
3079
3079
|
const platformDir = getPlatformDir();
|
|
@@ -3081,7 +3081,7 @@ async function plan(args) {
|
|
|
3081
3081
|
const api = createApiClient(void 0, void 0, appName);
|
|
3082
3082
|
const projectId = getProjectId(projectRoot);
|
|
3083
3083
|
const positionalArgs = args.filter((a) => !a.startsWith("-"));
|
|
3084
|
-
const { type, name } = parseResource(positionalArgs
|
|
3084
|
+
const { type, name } = parseResource(positionalArgs[0]);
|
|
3085
3085
|
console.log();
|
|
3086
3086
|
console.log(pc2.cyan(pc2.bold(" Plan")));
|
|
3087
3087
|
console.log(pc2.dim(" Comparing local files to remote state..."));
|