viza 1.8.39 → 1.8.40
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import chalk from "chalk";
|
|
1
2
|
import { renderCommandInline } from "../../../ui/primitives/render-command.js";
|
|
2
3
|
function formatDateTime(iso) {
|
|
3
4
|
const d = new Date(iso);
|
|
@@ -93,7 +94,7 @@ export async function showDispatchRuns(result) {
|
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
96
|
else if (run.status === "in_progress") {
|
|
96
|
-
status = "🟡
|
|
97
|
+
status = "🟡 in_progress";
|
|
97
98
|
conclusion = " -";
|
|
98
99
|
}
|
|
99
100
|
else {
|
|
@@ -129,10 +130,12 @@ export async function showDispatchRuns(result) {
|
|
|
129
130
|
const sampleCmd = `${bin} dispatch logs ${firstRunId}`;
|
|
130
131
|
console.log();
|
|
131
132
|
console.log("💡 " + "\x1b[1mQuick Hint\x1b[0m");
|
|
132
|
-
console.log(
|
|
133
|
-
console.log(
|
|
134
|
-
console.log(
|
|
135
|
-
console.log(
|
|
133
|
+
console.log();
|
|
134
|
+
console.log(chalk.gray(" 👉 To view detailed logs for a specific run, use:"));
|
|
135
|
+
console.log(` ${renderCommandInline(`${bin} dispatch logs <runId>`)}`);
|
|
136
|
+
console.log();
|
|
137
|
+
console.log(chalk.gray(" 👉 Example:"));
|
|
138
|
+
console.log(` ${renderCommandInline(sampleCmd)}`);
|
|
136
139
|
console.log();
|
|
137
140
|
}
|
|
138
141
|
}
|