@vizamodo/viza-cli 1.3.48 → 1.4.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/bin/viza.js CHANGED
@@ -37,6 +37,7 @@ program
37
37
  .version(readCliVersion())
38
38
  // Global Options
39
39
  .option("--status", "Show status only (no execution)")
40
+ .option("--keep-log", "Keep execution logs", false)
40
41
  .option("--self-hosted", "Use self-hosted runner (viza-builder)", false);
41
42
  program
42
43
  .command("bootstrap")
@@ -51,7 +52,6 @@ program
51
52
  .description("Login to AWS")
52
53
  .option("--prod", "Use production environment")
53
54
  .option("--dev", "Use development environment")
54
- .option("--keep-log", "Keep execution logs", false)
55
55
  .action(async (_options, command) => {
56
56
  const fullOpts = getResolvedOptions(command);
57
57
  await loginAwsCommand(fullOpts);
@@ -49,7 +49,7 @@ export async function loginAwsCommand(options) {
49
49
  infraKey: "aws",
50
50
  targetEnv: env,
51
51
  allowedTeams,
52
- selfhosted: options.selfhosted === true,
52
+ selfHosted: options.selfHosted === true,
53
53
  keepLog: options.keepLog === true,
54
54
  flowGates: {
55
55
  secrets: false,
@@ -25,7 +25,7 @@ async function dispatchIntent(input, mode = "dispatch") {
25
25
  commandType: input.commandType,
26
26
  infraKey: input.infraKey,
27
27
  payload: input.payload,
28
- runnerLabel: input.selfhosted ? "selfhosted" : "native",
28
+ runnerLabel: input.selfHosted ? "selfhosted" : "native",
29
29
  keepLog: input.keepLog,
30
30
  flowGates: input.flowGates,
31
31
  };
@@ -25,7 +25,7 @@ export function showDispatchBanner(input, meta) {
25
25
  title: cfg.title,
26
26
  subtitle,
27
27
  color: cfg.color,
28
- runner: input.selfhosted
28
+ runner: input.selfHosted
29
29
  ? {
30
30
  type: "selfhosted",
31
31
  label: "viza-builder",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizamodo/viza-cli",
3
- "version": "1.3.48",
3
+ "version": "1.4.2",
4
4
  "type": "module",
5
5
  "description": "Viza unified command line interface",
6
6
  "bin": {