mirror of
https://github.com/nbtca/Prompt.git
synced 2026-09-19 23:05:52 +08:00
A poetic and powerful CLI tool by NBTCA – where every command begins with a Prompt.
- TypeScript 97.8%
- Shell 1.3%
- JavaScript 0.9%
| .github/workflows | ||
| assets | ||
| scripts | ||
| src | ||
| .gitignore | ||
| .nvmrc | ||
| .prettierignore | ||
| .prettierrc.json | ||
| CHANGELOG.md | ||
| eslint.config.js | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| SECURITY.md | ||
| tsconfig.json | ||
| tsconfig.typecheck.json | ||
NBTCA Prompt
Terminal client for NBTCA events, documentation, status and personal timetables.
Requirements
- Node.js 20.12 or newer
Install
npm install --global @nbtca/prompt
nbtca
Run a command without installing:
npx @nbtca/prompt --help
Commands
nbtca events [--json]
nbtca docs
nbtca status
nbtca schedule login
nbtca schedule terms
nbtca schedule export --term=2026:3 --week-one=YYYY-MM-DD
nbtca schedule logout
Use --plain for stable output without color. schedule export --one-shot
avoids reading or saving a campus session.
Prompt never stores passwords. Persisted sessions contain only a masked account hint and a CookieJar, protected with user-only permissions on POSIX systems. Treat exported calendars and session files as private data. See SECURITY.md.
Development
npm ci
npm run check
check runs formatting, lint, full TypeScript validation, tests, build, package
consumer checks and dependency audit.
Project guides and release notes live in the Wiki.
License
MIT