tlc-claude-code 0.8.1 → 0.8.3
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 +45 -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 to Claude Code
|
|
269
|
+
tlc init # Add Docker launcher to project (creates tlc-start.bat)
|
|
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,45 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* TLC CLI - Simple entry point
|
|
5
|
+
*
|
|
6
|
+
* Usage:
|
|
7
|
+
* tlc - Install TLC slash commands to Claude Code
|
|
8
|
+
* tlc init - Add Docker dev launcher (tlc-start.bat) to project
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
const args = process.argv.slice(2);
|
|
12
|
+
const command = args[0];
|
|
13
|
+
|
|
14
|
+
switch (command) {
|
|
15
|
+
case 'init':
|
|
16
|
+
require('./init.js');
|
|
17
|
+
break;
|
|
18
|
+
case 'help':
|
|
19
|
+
case '--help':
|
|
20
|
+
case '-h':
|
|
21
|
+
console.log(`
|
|
22
|
+
TLC - Test Led Coding
|
|
23
|
+
|
|
24
|
+
Usage:
|
|
25
|
+
tlc Install TLC slash commands to Claude Code
|
|
26
|
+
tlc init Add Docker launcher to your project
|
|
27
|
+
|
|
28
|
+
Options:
|
|
29
|
+
--global, -g Install commands globally (~/.claude/commands)
|
|
30
|
+
--local, -l Install commands locally (./.claude/commands)
|
|
31
|
+
|
|
32
|
+
After 'tlc init':
|
|
33
|
+
Double-click tlc-start.bat to launch Docker dev environment:
|
|
34
|
+
- Dashboard: http://localhost:3147
|
|
35
|
+
- App: http://localhost:5000
|
|
36
|
+
- DB Admin: http://localhost:8080
|
|
37
|
+
- Database: localhost:5433
|
|
38
|
+
|
|
39
|
+
Requires: Docker Desktop (https://docker.com/products/docker-desktop)
|
|
40
|
+
`);
|
|
41
|
+
break;
|
|
42
|
+
default:
|
|
43
|
+
// No subcommand = run install.js (the original behavior)
|
|
44
|
+
require('./install.js');
|
|
45
|
+
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tlc-claude-code",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
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",
|