@kainoa/5c-cli 0.4.0

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 ADDED
@@ -0,0 +1,24 @@
1
+ # @kainoa/5c-cli
2
+
3
+ `5c` — agent-first CLI for searching the Claremont Colleges (5C) course
4
+ catalog: search, section details, schedule conflict audits, terms, and course
5
+ history. JSON envelopes for agents, tables for humans.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npx @kainoa/5c-cli@latest search "machine learning" --term FA2026 --json
11
+ npm i -g @kainoa/5c-cli # persistent: puts `5c` on PATH
12
+ ```
13
+
14
+ Requires Node 20 or newer. Data comes from
15
+ [HyperSchedule](https://hyperschedule.io) (the 5C registrars' catalogs) through
16
+ a local snapshot cache; seats are snapshots, always quoted with `fetched_at`
17
+ and a `stale` flag.
18
+
19
+ Exit codes: 0 success · 1 runtime/fetch · 2 usage · 3 not-found.
20
+ `5c schema --json` prints the machine catalog of commands and flags; every
21
+ JSON result is exactly one document on stdout.
22
+
23
+ Docs, the MCP twin ([`@kainoa/5c-mcp`](https://www.npmjs.com/package/@kainoa/5c-mcp)), and the
24
+ agent skill: [notkainoa/5C-Index](https://github.com/notkainoa/5C-Index).