@przeprogramowani/10x-cli 0.2.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.
Files changed (3) hide show
  1. package/README.md +71 -0
  2. package/dist/index.mjs +4464 -0
  3. package/package.json +45 -0
package/README.md ADDED
@@ -0,0 +1,71 @@
1
+ # 10x-cli
2
+
3
+ CLI tool for [10xDevs](https://10xdevs.pl) course content. Fetch and apply AI coding skills,
4
+ prompts, and configs directly into your workspace.
5
+
6
+ ## Install
7
+
8
+ ```bash
9
+ # npm (recommended)
10
+ npm install -g @przeprogramowani/10x-cli
11
+
12
+ # Or download a standalone binary from GitHub Releases
13
+ # https://github.com/przeprogramowani/10x-cli/releases
14
+ ```
15
+
16
+ ## Quick Start
17
+
18
+ ```bash
19
+ 10x auth # Authenticate with your email
20
+ 10x list # Browse available modules and lessons
21
+ 10x get m1l1 # Fetch and apply lesson artifacts
22
+ 10x doctor # Check everything is working
23
+ ```
24
+
25
+ ## Commands
26
+
27
+ | Command | Description |
28
+ |---------|-------------|
29
+ | `10x auth` | Magic-link login with your Circle-registered email |
30
+ | `10x list` | Browse modules and lessons in your course |
31
+ | `10x get <ref>` | Fetch a lesson and apply artifacts to `.claude/` |
32
+ | `10x doctor` | Diagnose auth, API connectivity, and local config |
33
+
34
+ ### Global Flags
35
+
36
+ - `--json` — Machine-readable JSON output (auto-detected when piped)
37
+ - `--verbose` — Request/response diagnostics on stderr
38
+ - `--version` — Print CLI version
39
+ - `--help` — Show help
40
+
41
+ ### Lesson References
42
+
43
+ Lessons are referenced by module and lesson number:
44
+
45
+ - `m1l1` — Module 1, Lesson 1
46
+ - `m2l3` — Module 2, Lesson 3
47
+
48
+ ## Development
49
+
50
+ ```bash
51
+ bun install
52
+ bun run dev -- --help # Run CLI from source
53
+ bun run build # Build dist/index.mjs (node target)
54
+ bun run build:binary # Build standalone binary (~59MB)
55
+ bun test # Run tests
56
+ bun run typecheck # tsc --noEmit
57
+ bun run lint # oxlint
58
+ ```
59
+
60
+ ## Contributing
61
+
62
+ 1. Fork the repository
63
+ 2. Create a feature branch (`git checkout -b feat/my-feature`)
64
+ 3. Commit using [conventional commits](https://www.conventionalcommits.org/) (`feat:`, `fix:`, etc.)
65
+ 4. Push and open a pull request
66
+
67
+ CI runs lint, typecheck, tests, and build checks on every PR. Releases are automated on merge to `master` via conventional-commit analysis.
68
+
69
+ ## License
70
+
71
+ MIT