@metisos/cascade-cli 0.1.0 → 0.1.1

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.
@@ -12,11 +12,23 @@ const portfolio_js_1 = require("../commands/portfolio.js");
12
12
  const graph_js_1 = require("../commands/graph.js");
13
13
  const skills_js_1 = require("../commands/skills.js");
14
14
  const config_js_2 = require("../commands/config.js");
15
+ const BANNER = `
16
+ \x1b[33m ██████╗ █████╗ ███████╗ ██████╗ █████╗ ██████╗ ███████╗\x1b[0m
17
+ \x1b[33m ██╔════╝██╔══██╗██╔════╝██╔════╝██╔══██╗██╔══██╗██╔════╝\x1b[0m
18
+ \x1b[33m ██║ ███████║███████╗██║ ███████║██║ ██║█████╗ \x1b[0m
19
+ \x1b[33m ██║ ██╔══██║╚════██║██║ ██╔══██║██║ ██║██╔══╝ \x1b[0m
20
+ \x1b[33m ╚██████╗██║ ██║███████║╚██████╗██║ ██║██████╔╝███████╗\x1b[0m
21
+ \x1b[33m ╚═════╝╚═╝ ╚═╝╚══════╝ ╚═════╝╚═╝ ╚═╝╚═════╝ ╚══════╝\x1b[0m
22
+
23
+ \x1b[2m Real-Time Event Propagation Intelligence\x1b[0m
24
+ \x1b[2m See the cascade before it hits.\x1b[0m
25
+ `;
15
26
  const program = new commander_1.Command();
16
27
  program
17
28
  .name("cascade")
18
29
  .description("Cascade CLI — Real-time geopolitical and economic intelligence")
19
- .version("0.1.0");
30
+ .version("0.1.1")
31
+ .addHelpText("beforeAll", BANNER);
20
32
  // Global format option
21
33
  function addFormat(cmd) {
22
34
  return cmd.option("-f, --format <format>", "Output format: table, json, csv", (0, config_js_1.loadConfig)().output || "table");
@@ -81,5 +93,10 @@ function handleError(err) {
81
93
  console.error(`Error: ${err.message}`);
82
94
  process.exit(1);
83
95
  }
96
+ // No args → show help (banner included via addHelpText)
97
+ if (process.argv.length <= 2) {
98
+ program.outputHelp();
99
+ process.exit(0);
100
+ }
84
101
  // Parse
85
102
  program.parse();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metisos/cascade-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Cascade CLI — Real-time geopolitical and economic intelligence from your terminal",
5
5
  "bin": {
6
6
  "cascade": "./dist/bin/cascade.js"