@claudinho/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.
- package/README.md +4 -4
- package/dist/index.js +6 -6
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ claudinho live --json | jq '.matches[].status'
|
|
|
46
46
|
| `--tz <zone>` | IANA timezone, e.g. `America/Mexico_City` (also `CLAUDINHO_TZ`; default: system) |
|
|
47
47
|
| `--json` | machine-readable output for scripting |
|
|
48
48
|
| `--no-color` | disable ANSI color (also honors `NO_COLOR`; auto-off when piped) |
|
|
49
|
-
| `--source <name>` | data
|
|
49
|
+
| `--source <name>` | live data provider (advanced; sensible default) |
|
|
50
50
|
|
|
51
51
|
Team codes are 3-letter (FIFA/IOC-style): `MEX`, `BRA`, `USA`, `ENG`, …
|
|
52
52
|
|
|
@@ -80,7 +80,7 @@ off-match it's silent (zero added tokens). Restart Claude Code to activate.
|
|
|
80
80
|
|
|
81
81
|
## Other competitions
|
|
82
82
|
|
|
83
|
-
By default Claudinho follows the 2026 World Cup. To follow a different
|
|
83
|
+
By default Claudinho follows the 2026 World Cup. To follow a different
|
|
84
84
|
competition (e.g. international friendlies before the tournament starts):
|
|
85
85
|
|
|
86
86
|
```bash
|
|
@@ -95,8 +95,8 @@ Only the live fetch changes; the bundled schedule is always the World Cup.
|
|
|
95
95
|
|
|
96
96
|
The full fixture list (104 matches, groups, venues, kickoffs) ships **bundled**
|
|
97
97
|
in the package, so the common path is offline and instant. Only live match
|
|
98
|
-
state hits the network. Scores come from a swappable data
|
|
99
|
-
|
|
98
|
+
state hits the network. Scores come from a swappable data provider; provider
|
|
99
|
+
attribution and rate limits are respected.
|
|
100
100
|
|
|
101
101
|
## License
|
|
102
102
|
|
package/dist/index.js
CHANGED
|
@@ -68,7 +68,7 @@ var EN = {
|
|
|
68
68
|
"err.date": "Invalid date {date}. Use YYYY-MM-DD.",
|
|
69
69
|
"warn.tz": "Unknown timezone {tz}; using system timezone.",
|
|
70
70
|
"warn.lang": "Unsupported language {lang}; using English. (supported: en, es, pt, fr)",
|
|
71
|
-
disclaimer: "Not affiliated with FIFA or Anthropic.
|
|
71
|
+
disclaimer: "Not affiliated with FIFA or Anthropic."
|
|
72
72
|
};
|
|
73
73
|
var ES = {
|
|
74
74
|
"today.title": "Partidos de hoy",
|
|
@@ -98,7 +98,7 @@ var ES = {
|
|
|
98
98
|
"err.date": "Fecha inv\xE1lida {date}. Usa AAAA-MM-DD.",
|
|
99
99
|
"warn.tz": "Zona horaria desconocida {tz}; usando la del sistema.",
|
|
100
100
|
"warn.lang": "Idioma no soportado {lang}; usando ingl\xE9s. (disponibles: en, es, pt, fr)",
|
|
101
|
-
disclaimer: "No afiliado a FIFA ni Anthropic.
|
|
101
|
+
disclaimer: "No afiliado a FIFA ni Anthropic."
|
|
102
102
|
};
|
|
103
103
|
var PT = {
|
|
104
104
|
"today.title": "Jogos de hoje",
|
|
@@ -128,7 +128,7 @@ var PT = {
|
|
|
128
128
|
"err.date": "Data inv\xE1lida {date}. Use AAAA-MM-DD.",
|
|
129
129
|
"warn.tz": "Fuso hor\xE1rio desconhecido {tz}; usando o do sistema.",
|
|
130
130
|
"warn.lang": "Idioma n\xE3o suportado {lang}; usando ingl\xEAs. (dispon\xEDveis: en, es, pt, fr)",
|
|
131
|
-
disclaimer: "N\xE3o afiliado \xE0 FIFA nem \xE0 Anthropic.
|
|
131
|
+
disclaimer: "N\xE3o afiliado \xE0 FIFA nem \xE0 Anthropic."
|
|
132
132
|
};
|
|
133
133
|
var FR = {
|
|
134
134
|
"today.title": "Matchs d'aujourd'hui",
|
|
@@ -158,7 +158,7 @@ var FR = {
|
|
|
158
158
|
"err.date": "Date invalide {date}. Utilisez AAAA-MM-JJ.",
|
|
159
159
|
"warn.tz": "Fuseau horaire inconnu {tz} ; utilisation du fuseau syst\xE8me.",
|
|
160
160
|
"warn.lang": "Langue non prise en charge {lang} ; utilisation de l\u2019anglais. (disponibles : en, es, pt, fr)",
|
|
161
|
-
disclaimer: "Non affili\xE9 \xE0 la FIFA ni \xE0 Anthropic.
|
|
161
|
+
disclaimer: "Non affili\xE9 \xE0 la FIFA ni \xE0 Anthropic."
|
|
162
162
|
};
|
|
163
163
|
var CATALOGS = { en: EN, es: ES, pt: PT, fr: FR };
|
|
164
164
|
function makeT(lang) {
|
|
@@ -3377,7 +3377,7 @@ function handlePipeError(stream) {
|
|
|
3377
3377
|
}
|
|
3378
3378
|
handlePipeError(process.stdout);
|
|
3379
3379
|
handlePipeError(process.stderr);
|
|
3380
|
-
var VERSION = "0.1.
|
|
3380
|
+
var VERSION = "0.1.1";
|
|
3381
3381
|
var DISCLAIMER = "Claudinho is an independent fan project. Not affiliated with or endorsed by FIFA or Anthropic.";
|
|
3382
3382
|
function ctxFrom(cmd) {
|
|
3383
3383
|
const root = cmd.parent ?? cmd;
|
|
@@ -3392,7 +3392,7 @@ function fail(err) {
|
|
|
3392
3392
|
process.exit(1);
|
|
3393
3393
|
}
|
|
3394
3394
|
var program = new Command();
|
|
3395
|
-
program.name("claudinho").description("The 2026 football tournament in your terminal.\n" + DISCLAIMER).version(VERSION, "-v, --version").option("--lang <code>", "language: en, es, pt, fr").option("--tz <zone>", "IANA timezone, e.g. America/Mexico_City").option("--json", "output JSON (for scripting)").option("--no-color", "disable ANSI colors").option("--source <name>", "data
|
|
3395
|
+
program.name("claudinho").description("The 2026 football tournament in your terminal.\n" + DISCLAIMER).version(VERSION, "-v, --version").option("--lang <code>", "language: en, es, pt, fr").option("--tz <zone>", "IANA timezone, e.g. America/Mexico_City").option("--json", "output JSON (for scripting)").option("--no-color", "disable ANSI colors").option("--source <name>", "live data provider (advanced)");
|
|
3396
3396
|
program.command("today").description("show a day's fixtures (default: today)").argument("[date]", "date as YYYY-MM-DD").action(async (date, _opts, cmd) => {
|
|
3397
3397
|
try {
|
|
3398
3398
|
await cmdToday(date, ctxFrom(cmd));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudinho/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Claudinho CLI — the 2026 football tournament in your terminal. Live scores, fixtures, group tables. Not affiliated with FIFA or Anthropic.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,7 +23,11 @@
|
|
|
23
23
|
"bin": {
|
|
24
24
|
"claudinho": "./dist/index.js"
|
|
25
25
|
},
|
|
26
|
-
"files": [
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"README.md",
|
|
29
|
+
"LICENSE"
|
|
30
|
+
],
|
|
27
31
|
"keywords": [
|
|
28
32
|
"football",
|
|
29
33
|
"soccer",
|