tlc-claude-code 0.8.1 → 0.8.2
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 +17 -10
- package/bin/tlc.js +50 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
**Test Led Coding for Claude Code. Tests before code. Automatically.**
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npx tlc-claude-code
|
|
10
|
+
npx tlc-claude-code # or just: tlc (after global install)
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
<p align="center">
|
|
@@ -101,7 +101,7 @@ TLC knows where you are and what's next.
|
|
|
101
101
|
| `/tlc:claim` | Reserve a task |
|
|
102
102
|
| `/tlc:who` | See who's working on what |
|
|
103
103
|
| `/tlc:bug` | Log a bug |
|
|
104
|
-
| `
|
|
104
|
+
| `tlc init` | Add Docker dev launcher to project |
|
|
105
105
|
|
|
106
106
|
### Integration Commands
|
|
107
107
|
|
|
@@ -129,7 +129,7 @@ TLC supports distributed teams with git-based coordination.
|
|
|
129
129
|
```bash
|
|
130
130
|
/tlc:claim 2 # Reserve task 2
|
|
131
131
|
/tlc:who # See team status
|
|
132
|
-
|
|
132
|
+
tlc init # Add dev server launcher
|
|
133
133
|
# Then double-click tlc-start.bat
|
|
134
134
|
```
|
|
135
135
|
|
|
@@ -143,7 +143,7 @@ Launch a mini-Replit for your team with Docker:
|
|
|
143
143
|
|
|
144
144
|
```bash
|
|
145
145
|
# Add launcher to your project (one-time)
|
|
146
|
-
|
|
146
|
+
tlc init
|
|
147
147
|
|
|
148
148
|
# Then double-click tlc-start.bat (Windows)
|
|
149
149
|
```
|
|
@@ -261,14 +261,21 @@ C:\Code\TLC\ (or your install location)
|
|
|
261
261
|
## Install
|
|
262
262
|
|
|
263
263
|
```bash
|
|
264
|
-
#
|
|
265
|
-
|
|
264
|
+
# Install globally (recommended)
|
|
265
|
+
npm install -g tlc-claude-code
|
|
266
266
|
|
|
267
|
-
#
|
|
268
|
-
|
|
267
|
+
# Then use anywhere:
|
|
268
|
+
tlc # Install slash commands
|
|
269
|
+
tlc init # Add dev server to project
|
|
270
|
+
tlc --help # See all options
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
Or use without installing:
|
|
269
274
|
|
|
270
|
-
|
|
271
|
-
npx tlc-claude-code
|
|
275
|
+
```bash
|
|
276
|
+
npx tlc-claude-code # Interactive install
|
|
277
|
+
npx tlc-claude-code --global # Global install
|
|
278
|
+
npx tlc-claude-code --local # Local install only
|
|
272
279
|
```
|
|
273
280
|
|
|
274
281
|
Commands install to `.claude/commands/tlc/`
|
package/bin/tlc.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* TLC CLI - Simple entry point
|
|
5
|
+
*
|
|
6
|
+
* Usage:
|
|
7
|
+
* tlc - Install TLC commands (interactive)
|
|
8
|
+
* tlc init - Add dev server launcher to project
|
|
9
|
+
* tlc server - Start dev server
|
|
10
|
+
* tlc setup - Setup server requirements (Linux/macOS)
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
const args = process.argv.slice(2);
|
|
14
|
+
const command = args[0];
|
|
15
|
+
|
|
16
|
+
switch (command) {
|
|
17
|
+
case 'init':
|
|
18
|
+
require('./init.js');
|
|
19
|
+
break;
|
|
20
|
+
case 'server':
|
|
21
|
+
require('./server.js');
|
|
22
|
+
break;
|
|
23
|
+
case 'setup':
|
|
24
|
+
require('./setup.js');
|
|
25
|
+
break;
|
|
26
|
+
case 'help':
|
|
27
|
+
case '--help':
|
|
28
|
+
case '-h':
|
|
29
|
+
console.log(`
|
|
30
|
+
TLC - Test Led Coding
|
|
31
|
+
|
|
32
|
+
Usage:
|
|
33
|
+
tlc Install TLC commands to Claude Code
|
|
34
|
+
tlc init Add dev server launcher (tlc-start.bat) to project
|
|
35
|
+
tlc server Start the TLC dev server
|
|
36
|
+
tlc setup Setup server requirements (Linux/macOS)
|
|
37
|
+
|
|
38
|
+
Options:
|
|
39
|
+
--global, -g Install commands globally
|
|
40
|
+
--local, -l Install commands locally
|
|
41
|
+
|
|
42
|
+
Examples:
|
|
43
|
+
tlc --global Install commands for all projects
|
|
44
|
+
tlc init Add Docker launcher to current project
|
|
45
|
+
`);
|
|
46
|
+
break;
|
|
47
|
+
default:
|
|
48
|
+
// No subcommand = run install.js (the original behavior)
|
|
49
|
+
require('./install.js');
|
|
50
|
+
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tlc-claude-code",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "TLC - Test Led Coding for Claude Code",
|
|
5
5
|
"bin": {
|
|
6
|
+
"tlc": "./bin/tlc.js",
|
|
6
7
|
"tlc-claude-code": "./bin/install.js",
|
|
7
8
|
"tlc-dashboard": "./dashboard/dist/index.js",
|
|
8
9
|
"tlc-server": "./bin/server.js",
|