@claudinho/cli 0.8.14 → 0.8.15
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 +4 -13
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4850,8 +4850,9 @@ function matchLine(m, cfg, t2, c, flags = true) {
|
|
|
4850
4850
|
} else {
|
|
4851
4851
|
right = statusToken(m, t2, c);
|
|
4852
4852
|
}
|
|
4853
|
-
const
|
|
4854
|
-
const
|
|
4853
|
+
const mexRally = (m.home.code === "MEX" || m.away.code === "MEX") && cfg.flavor !== "off";
|
|
4854
|
+
const flair = mexRally ? "\xBFY si s\xED?" : matchFlavor(m, { level: cfg.flavor, locale: cfg.lang });
|
|
4855
|
+
const tail = flair ? ` ${mexRally ? c.green(flair) : c.dim(flair)}` : "";
|
|
4855
4856
|
return ` ${left} ${right}${tail}`.trimEnd();
|
|
4856
4857
|
}
|
|
4857
4858
|
function header(text, c) {
|
|
@@ -5561,12 +5562,6 @@ function resolveTeamArg(team, usage) {
|
|
|
5561
5562
|
if (!code) throw new InputError(usage);
|
|
5562
5563
|
return code.toUpperCase();
|
|
5563
5564
|
}
|
|
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
|
-
}
|
|
5570
5565
|
async function cmdToday(date, ctx) {
|
|
5571
5566
|
const { cfg, t: t2 } = ctx;
|
|
5572
5567
|
precheck(cfg, t2, date);
|
|
@@ -5598,8 +5593,6 @@ async function cmdToday(date, ctx) {
|
|
|
5598
5593
|
out(matchLine(m, cfg, t2, c, flags));
|
|
5599
5594
|
const s = signals.get(m.id);
|
|
5600
5595
|
if (s) out(" " + c.dim(marketLine(s, m)));
|
|
5601
|
-
const rally = mexRally(m, cfg, c);
|
|
5602
|
-
if (rally) out(" " + rally);
|
|
5603
5596
|
}
|
|
5604
5597
|
}
|
|
5605
5598
|
out();
|
|
@@ -5667,8 +5660,6 @@ async function cmdNext(team, ctx) {
|
|
|
5667
5660
|
`${stage}${formatKickoff(fixture.kickoff, { tz: cfg.tz, locale: cfg.lang })} \xB7 ` + t2("next.in", { countdown: countdown(fixture.kickoff) })
|
|
5668
5661
|
)
|
|
5669
5662
|
);
|
|
5670
|
-
const rally = mexRally(fixture, cfg, c);
|
|
5671
|
-
if (rally) out(" " + rally);
|
|
5672
5663
|
out();
|
|
5673
5664
|
const src = dataSource(source, cfg.lang, c);
|
|
5674
5665
|
if (src) out(src);
|
|
@@ -6427,7 +6418,7 @@ function handlePipeError(stream) {
|
|
|
6427
6418
|
}
|
|
6428
6419
|
handlePipeError(process.stdout);
|
|
6429
6420
|
handlePipeError(process.stderr);
|
|
6430
|
-
var VERSION = "0.8.
|
|
6421
|
+
var VERSION = "0.8.15";
|
|
6431
6422
|
var DISCLAIMER = "Claudinho is an independent fan project. Not affiliated with or endorsed by FIFA or Anthropic.";
|
|
6432
6423
|
function ctxFrom(cmd) {
|
|
6433
6424
|
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.15",
|
|
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.15"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "tsup",
|