viza 1.9.6 → 1.9.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.
@@ -67,6 +67,13 @@ export async function showDispatchRuns(result) {
67
67
  ].join(" ");
68
68
  console.log(header);
69
69
  console.log("─".repeat(131));
70
+ if (runs.length === 0) {
71
+ const emptyRow = chalk.gray(" (no dispatch runs found)");
72
+ console.log(emptyRow);
73
+ console.log("─".repeat(131));
74
+ console.log();
75
+ return;
76
+ }
70
77
  for (const run of runs) {
71
78
  let status;
72
79
  let conclusion;
@@ -133,6 +140,9 @@ export async function showDispatchRuns(result) {
133
140
  console.log();
134
141
  console.log("💡 " + "\x1b[1mQuick Hint\x1b[0m");
135
142
  console.log();
143
+ console.log(chalk.gray(" 👉 To quickly list fewer runs, use --limit:"));
144
+ console.log(` ${renderCommandInline(`${bin} dispatch runs --limit <n>`)}`);
145
+ console.log();
136
146
  console.log(chalk.gray(" 👉 To view detailed logs for a specific run, use:"));
137
147
  console.log(` ${renderCommandInline(`${bin} dispatch logs <runId>`)}`);
138
148
  console.log();
@@ -12,7 +12,7 @@ function pickBannerConfig(env) {
12
12
  return cfg;
13
13
  return {
14
14
  title: `Viza CLI`,
15
- color: "cyan"
15
+ color: "gray"
16
16
  };
17
17
  }
18
18
  /**
@@ -43,7 +43,7 @@ export function showDispatchBanner(input, meta, status) {
43
43
  });
44
44
  }
45
45
  export function showBanner(opts) {
46
- const { title, commandType, status, color = "cyanBright", intent, runner, meta } = opts;
46
+ const { title, commandType, status, color = "gray", intent, runner, meta } = opts;
47
47
  process.stdout.write("\u001b[2J\u001b[3J\u001b[H");
48
48
  const font = opts.env === "prod"
49
49
  ? "Ogre"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viza",
3
- "version": "1.9.6",
3
+ "version": "1.9.7",
4
4
  "type": "module",
5
5
  "description": "Viza unified command line interface",
6
6
  "bin": {