@numericoach/numerifactory-cli
v0.1.2
Published
Authenticated CLI for NumeriFactory news.
Readme
NumeriFactory CLI
Authenticated CLI for NumeriFactory news.
The CLI opens NumeriFactory in the browser, uses the normal NumeriFactory login, then stores an opaque CLI token locally. It does not need a NumeriFactory API key.
Usage
numerifactory auth login
numerifactory auth whoami --output json
numerifactory news list --limit 25 --output json
numerifactory news list --state ALPHA --limit 25 --output json
numerifactory news get <id-or-slug> --output jsonFor local app work:
numerifactory auth login --base-url http://localhost:3000Auth model
- browser login on NumeriFactory
- opaque local token in
~/.numerifactory-cli/session.json - every API call re-checks the CLI token server-side
- no
DATABASE_URL - no raw API key
- no copied browser cookie
Output
Use --output json, --output jsonl, --output table, or --output markdown.
Piped output defaults to JSON so agents and scripts can consume it safely.
