@claudinho/cli 0.8.13 → 0.8.14
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/index.js +11 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5561,6 +5561,12 @@ function resolveTeamArg(team, usage) {
|
|
|
5561
5561
|
if (!code) throw new InputError(usage);
|
|
5562
5562
|
return code.toUpperCase();
|
|
5563
5563
|
}
|
|
5564
|
+
var MEX_RALLY = "\xBFY si s\xED?";
|
|
5565
|
+
function mexRally(m, cfg, c) {
|
|
5566
|
+
if (cfg.flavor === "off") return void 0;
|
|
5567
|
+
if (m.home.code !== "MEX" && m.away.code !== "MEX") return void 0;
|
|
5568
|
+
return c.green(MEX_RALLY);
|
|
5569
|
+
}
|
|
5564
5570
|
async function cmdToday(date, ctx) {
|
|
5565
5571
|
const { cfg, t: t2 } = ctx;
|
|
5566
5572
|
precheck(cfg, t2, date);
|
|
@@ -5592,6 +5598,8 @@ async function cmdToday(date, ctx) {
|
|
|
5592
5598
|
out(matchLine(m, cfg, t2, c, flags));
|
|
5593
5599
|
const s = signals.get(m.id);
|
|
5594
5600
|
if (s) out(" " + c.dim(marketLine(s, m)));
|
|
5601
|
+
const rally = mexRally(m, cfg, c);
|
|
5602
|
+
if (rally) out(" " + rally);
|
|
5595
5603
|
}
|
|
5596
5604
|
}
|
|
5597
5605
|
out();
|
|
@@ -5659,6 +5667,8 @@ async function cmdNext(team, ctx) {
|
|
|
5659
5667
|
`${stage}${formatKickoff(fixture.kickoff, { tz: cfg.tz, locale: cfg.lang })} \xB7 ` + t2("next.in", { countdown: countdown(fixture.kickoff) })
|
|
5660
5668
|
)
|
|
5661
5669
|
);
|
|
5670
|
+
const rally = mexRally(fixture, cfg, c);
|
|
5671
|
+
if (rally) out(" " + rally);
|
|
5662
5672
|
out();
|
|
5663
5673
|
const src = dataSource(source, cfg.lang, c);
|
|
5664
5674
|
if (src) out(src);
|
|
@@ -6417,7 +6427,7 @@ function handlePipeError(stream) {
|
|
|
6417
6427
|
}
|
|
6418
6428
|
handlePipeError(process.stdout);
|
|
6419
6429
|
handlePipeError(process.stderr);
|
|
6420
|
-
var VERSION = "0.8.
|
|
6430
|
+
var VERSION = "0.8.14";
|
|
6421
6431
|
var DISCLAIMER = "Claudinho is an independent fan project. Not affiliated with or endorsed by FIFA or Anthropic.";
|
|
6422
6432
|
function ctxFrom(cmd) {
|
|
6423
6433
|
let root = cmd;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudinho/cli",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.14",
|
|
4
4
|
"description": "Live scores, fixtures, group tables, and read-only prediction-market signals for the 2026 men's football tournament — in your terminal, Claude Code, and Cursor CLI statusline. No API keys. Not affiliated with FIFA or Anthropic.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"tsup": "^8.0.0",
|
|
62
62
|
"typescript": "^5.7.0",
|
|
63
63
|
"vitest": "^4.1.9",
|
|
64
|
-
"@claudinho/core": "0.8.
|
|
64
|
+
"@claudinho/core": "0.8.14"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "tsup",
|