@melaya/runner 1.0.8 → 1.0.9
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/cli.js +14 -8
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -25,14 +25,20 @@ const program = new Command()
|
|
|
25
25
|
.option("--verbose", "Show detailed logs", false)
|
|
26
26
|
.parse(process.argv);
|
|
27
27
|
const opts = program.opts();
|
|
28
|
-
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
28
|
+
// Logo colors: cyan → blue → indigo gradient (matching melaya.org)
|
|
29
|
+
const c1 = chalk.hex("#22D3EE").bold;
|
|
30
|
+
const c2 = chalk.hex("#10B0F0").bold;
|
|
31
|
+
const c3 = chalk.hex("#0090E8").bold;
|
|
32
|
+
const c4 = chalk.hex("#0070D8").bold;
|
|
33
|
+
const c5 = chalk.hex("#0050C8").bold;
|
|
34
|
+
const c6 = chalk.hex("#0038B0").bold;
|
|
34
35
|
const br = chalk.hex("#22D3EE");
|
|
35
|
-
const dm = chalk.hex("#
|
|
36
|
+
const dm = chalk.hex("#555");
|
|
37
|
+
import { readFileSync } from "fs";
|
|
38
|
+
import { fileURLToPath } from "url";
|
|
39
|
+
import { dirname, join } from "path";
|
|
40
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
41
|
+
const { version } = JSON.parse(readFileSync(join(__dirname, "..", "package.json"), "utf-8"));
|
|
36
42
|
const BANNER = `
|
|
37
43
|
${c1("███╗ ███╗")} ${c2("███████╗")} ${c3("██╗")} ${c4("█████╗")} ${c5("██╗ ██╗")} ${c6("█████╗")}
|
|
38
44
|
${c1("████╗ ████║")} ${c2("██╔════╝")} ${c3("██║")} ${c4("██╔══██╗")} ${c5("╚██╗ ██╔╝")} ${c6("██╔══██╗")}
|
|
@@ -41,7 +47,7 @@ const BANNER = `
|
|
|
41
47
|
${c1("██║ ╚═╝ ██║")} ${c2("███████╗")} ${c3("███████╗")} ${c4("██║ ██║")} ${c5("██║")} ${c6("██║ ██║")}
|
|
42
48
|
${c1("╚═╝ ╚═╝")} ${c2("╚══════╝")} ${c3("╚══════╝")} ${c4("╚═╝ ╚═╝")} ${c5("╚═╝")} ${c6("╚═╝ ╚═╝")}
|
|
43
49
|
|
|
44
|
-
${br("▸")} ${dm("Local AI Pipeline Runner")} ${chalk.hex("#333")(
|
|
50
|
+
${br("▸")} ${dm("Local AI Pipeline Runner")} ${chalk.hex("#333")(`v${version}`)}
|
|
45
51
|
${br("─────────────────────────────────────────────────────")}
|
|
46
52
|
`;
|
|
47
53
|
async function main() {
|