@lenne.tech/cli 1.5.0 → 1.6.1
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 +30 -0
- package/bin/postinstall.js +156 -0
- package/build/cli.js +11 -1
- package/build/commands/blocks/add.js +28 -306
- package/build/commands/blocks/blocks.js +2 -2
- package/build/commands/claude/claude.js +2 -2
- package/build/commands/cli/cli.js +2 -2
- package/build/commands/cli/create.js +69 -21
- package/build/commands/cli/rename.js +11 -5
- package/build/commands/completion.js +311 -0
- package/build/commands/components/add.js +25 -219
- package/build/commands/components/components.js +2 -2
- package/build/commands/config/help.js +5 -2
- package/build/commands/config/init.js +20 -5
- package/build/commands/config/show.js +4 -1
- package/build/commands/config/validate.js +27 -2
- package/build/commands/deployment/create.js +18 -5
- package/build/commands/deployment/deployment.js +2 -2
- package/build/commands/docs/open.js +4 -1
- package/build/commands/doctor.js +285 -0
- package/build/commands/frontend/angular.js +88 -28
- package/build/commands/frontend/nuxt.js +2 -1
- package/build/commands/fullstack/init.js +58 -19
- package/build/commands/git/clean.js +60 -11
- package/build/commands/git/clear.js +17 -11
- package/build/commands/git/create.js +51 -10
- package/build/commands/git/force-pull.js +42 -15
- package/build/commands/git/get.js +14 -15
- package/build/commands/git/install-scripts.js +6 -6
- package/build/commands/git/rebase.js +40 -12
- package/build/commands/git/rename.js +33 -13
- package/build/commands/git/reset.js +48 -13
- package/build/commands/git/squash.js +67 -26
- package/build/commands/git/undo.js +33 -13
- package/build/commands/git/update.js +59 -6
- package/build/commands/history.js +75 -0
- package/build/commands/mongodb/collection-export.js +2 -2
- package/build/commands/mongodb/mongodb.js +2 -2
- package/build/commands/mongodb/s3-restore.js +2 -2
- package/build/commands/npm/reinit.js +11 -12
- package/build/commands/npm/update.js +6 -2
- package/build/commands/qdrant/delete.js +6 -2
- package/build/commands/qdrant/qdrant.js +2 -2
- package/build/commands/qdrant/stats.js +5 -2
- package/build/commands/redis/redis.js +2 -2
- package/build/commands/server/add-property.js +8 -12
- package/build/commands/server/create-secret.js +6 -3
- package/build/commands/server/create.js +39 -21
- package/build/commands/server/module.js +22 -16
- package/build/commands/server/object.js +7 -11
- package/build/commands/server/set-secrets.js +6 -3
- package/build/commands/server/test.js +3 -3
- package/build/commands/starter/chrome-extension.js +3 -3
- package/build/commands/status.js +198 -0
- package/build/commands/templates/list.js +107 -0
- package/build/commands/templates/llm.js +8 -3
- package/build/commands/templates/templates.js +2 -2
- package/build/commands/tools/jwt-read.js +2 -2
- package/build/commands/tools/regex.js +5 -2
- package/build/commands/typescript/create.js +84 -21
- package/build/commands/typescript/playground.js +5 -2
- package/build/extensions/config.js +37 -1
- package/build/extensions/git.js +57 -2
- package/build/extensions/history.js +118 -0
- package/build/extensions/logger.js +189 -0
- package/build/lib/nuxt-base-components.js +249 -0
- package/build/lib/validation.js +204 -0
- package/build/templates/completion/bash.sh.ejs +92 -0
- package/build/templates/completion/fish.sh.ejs +77 -0
- package/build/templates/completion/zsh.sh.ejs +119 -0
- package/docs/commands.md +464 -14
- package/docs/lt.config.md +138 -8
- package/package.json +16 -14
package/docs/commands.md
CHANGED
|
@@ -12,6 +12,13 @@ This document provides a comprehensive reference for all `lt` CLI commands. For
|
|
|
12
12
|
- [NPM Commands](#npm-commands)
|
|
13
13
|
- [Frontend Commands](#frontend-commands)
|
|
14
14
|
- [Config Commands](#config-commands)
|
|
15
|
+
- [Utility Commands](#utility-commands)
|
|
16
|
+
- [Database Commands](#database-commands)
|
|
17
|
+
- [TypeScript Commands](#typescript-commands)
|
|
18
|
+
- [Starter Commands](#starter-commands)
|
|
19
|
+
- [Claude Commands](#claude-commands)
|
|
20
|
+
- [Blocks & Components](#blocks--components)
|
|
21
|
+
- [Template Commands](#template-commands)
|
|
15
22
|
- [Other Commands](#other-commands)
|
|
16
23
|
|
|
17
24
|
---
|
|
@@ -38,6 +45,17 @@ lt cli create [name] [options]
|
|
|
38
45
|
|
|
39
46
|
---
|
|
40
47
|
|
|
48
|
+
### `lt cli rename`
|
|
49
|
+
|
|
50
|
+
Renames the current CLI project.
|
|
51
|
+
|
|
52
|
+
**Usage:**
|
|
53
|
+
```bash
|
|
54
|
+
lt cli rename <new-name>
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
41
59
|
## Server Commands
|
|
42
60
|
|
|
43
61
|
### `lt server create`
|
|
@@ -55,8 +73,9 @@ lt server create [name] [options]
|
|
|
55
73
|
| `--description <text>` | Project description |
|
|
56
74
|
| `--author <name>` | Author name |
|
|
57
75
|
| `--git` | Initialize git repository |
|
|
76
|
+
| `--noConfirm` | Skip confirmation prompts |
|
|
58
77
|
|
|
59
|
-
**Configuration:** `commands.server.create.*`, `defaults.author`
|
|
78
|
+
**Configuration:** `commands.server.create.*`, `defaults.author`, `defaults.noConfirm`
|
|
60
79
|
|
|
61
80
|
---
|
|
62
81
|
|
|
@@ -74,9 +93,10 @@ lt server module [options]
|
|
|
74
93
|
|--------|-------------|
|
|
75
94
|
| `--name <name>` | Module name |
|
|
76
95
|
| `--controller <type>` | Controller type: `Rest`, `GraphQL`, `Both`, `auto` |
|
|
96
|
+
| `--noConfirm` | Skip confirmation prompts |
|
|
77
97
|
| `--skipLint` | Skip lint fix after creation |
|
|
78
98
|
|
|
79
|
-
**Configuration:** `commands.server.module.*`, `defaults.controller`, `defaults.skipLint`
|
|
99
|
+
**Configuration:** `commands.server.module.*`, `defaults.controller`, `defaults.skipLint`, `defaults.noConfirm`
|
|
80
100
|
|
|
81
101
|
---
|
|
82
102
|
|
|
@@ -119,10 +139,45 @@ lt server addProp [options]
|
|
|
119
139
|
|
|
120
140
|
---
|
|
121
141
|
|
|
142
|
+
### `lt server create-secret`
|
|
143
|
+
|
|
144
|
+
Creates a random secret key.
|
|
145
|
+
|
|
146
|
+
**Usage:**
|
|
147
|
+
```bash
|
|
148
|
+
lt server create-secret
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
### `lt server set-secrets`
|
|
154
|
+
|
|
155
|
+
Sets secrets in environment files.
|
|
156
|
+
|
|
157
|
+
**Usage:**
|
|
158
|
+
```bash
|
|
159
|
+
lt server set-secrets [options]
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
### `lt server test`
|
|
165
|
+
|
|
166
|
+
Runs server tests.
|
|
167
|
+
|
|
168
|
+
**Usage:**
|
|
169
|
+
```bash
|
|
170
|
+
lt server test
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
122
175
|
## Git Commands
|
|
123
176
|
|
|
124
177
|
All git commands support the `--noConfirm` flag and can be configured via `defaults.noConfirm` or `commands.git.noConfirm`.
|
|
125
178
|
|
|
179
|
+
**Commands with `--dry-run` support:** create, update, clear, force-pull, reset, undo, clean, squash, rebase, rename - preview changes without executing them.
|
|
180
|
+
|
|
126
181
|
### `lt git create`
|
|
127
182
|
|
|
128
183
|
Creates a new git branch from a base branch.
|
|
@@ -136,8 +191,10 @@ lt git create <branch-name> [base-branch] [options]
|
|
|
136
191
|
| Option | Description |
|
|
137
192
|
|--------|-------------|
|
|
138
193
|
| `--base <branch>` | Base branch for the new branch |
|
|
194
|
+
| `--noConfirm` | Skip confirmation prompts |
|
|
195
|
+
| `--dry-run` | Preview what would be created without making changes |
|
|
139
196
|
|
|
140
|
-
**Configuration:** `commands.git.baseBranch`, `defaults.baseBranch`
|
|
197
|
+
**Configuration:** `commands.git.create.base`, `commands.git.baseBranch`, `defaults.baseBranch`
|
|
141
198
|
|
|
142
199
|
---
|
|
143
200
|
|
|
@@ -173,6 +230,7 @@ lt git squash [base-branch] [options]
|
|
|
173
230
|
| Option | Description |
|
|
174
231
|
|--------|-------------|
|
|
175
232
|
| `--noConfirm` | Skip confirmation prompts |
|
|
233
|
+
| `--dry-run` | Preview commits that would be squashed |
|
|
176
234
|
| `--author <name>` | Author for the squash commit |
|
|
177
235
|
| `--message <text>` | Commit message |
|
|
178
236
|
|
|
@@ -193,6 +251,7 @@ lt git rebase [base-branch] [options]
|
|
|
193
251
|
| Option | Description |
|
|
194
252
|
|--------|-------------|
|
|
195
253
|
| `--noConfirm` | Skip confirmation prompts |
|
|
254
|
+
| `--dry-run` | Preview commits that would be rebased |
|
|
196
255
|
| `--base <branch>` | Base branch for rebase |
|
|
197
256
|
|
|
198
257
|
**Configuration:** `commands.git.rebase.*`, `defaults.noConfirm`, `defaults.baseBranch`
|
|
@@ -212,6 +271,7 @@ lt git clear [options]
|
|
|
212
271
|
| Option | Description |
|
|
213
272
|
|--------|-------------|
|
|
214
273
|
| `--noConfirm` | Skip confirmation prompts |
|
|
274
|
+
| `--dry-run` | Preview what would be discarded |
|
|
215
275
|
|
|
216
276
|
**Configuration:** `commands.git.clear.noConfirm`, `defaults.noConfirm`
|
|
217
277
|
|
|
@@ -230,6 +290,7 @@ lt git force-pull [options]
|
|
|
230
290
|
| Option | Description |
|
|
231
291
|
|--------|-------------|
|
|
232
292
|
| `--noConfirm` | Skip confirmation prompts |
|
|
293
|
+
| `--dry-run` | Preview what would be lost |
|
|
233
294
|
|
|
234
295
|
**Configuration:** `commands.git.forcePull.noConfirm`, `defaults.noConfirm`
|
|
235
296
|
|
|
@@ -248,6 +309,7 @@ lt git reset [options]
|
|
|
248
309
|
| Option | Description |
|
|
249
310
|
|--------|-------------|
|
|
250
311
|
| `--noConfirm` | Skip confirmation prompts |
|
|
312
|
+
| `--dry-run` | Preview what would be reset |
|
|
251
313
|
|
|
252
314
|
**Configuration:** `commands.git.reset.noConfirm`, `defaults.noConfirm`
|
|
253
315
|
|
|
@@ -266,6 +328,7 @@ lt git undo [options]
|
|
|
266
328
|
| Option | Description |
|
|
267
329
|
|--------|-------------|
|
|
268
330
|
| `--noConfirm` | Skip confirmation prompts |
|
|
331
|
+
| `--dry-run` | Preview the commit that would be undone |
|
|
269
332
|
|
|
270
333
|
**Configuration:** `commands.git.undo.noConfirm`, `defaults.noConfirm`
|
|
271
334
|
|
|
@@ -284,6 +347,7 @@ lt git rename <new-name> [options]
|
|
|
284
347
|
| Option | Description |
|
|
285
348
|
|--------|-------------|
|
|
286
349
|
| `--noConfirm` | Skip confirmation prompts |
|
|
350
|
+
| `--dry-run` | Preview the rename operation |
|
|
287
351
|
| `--deleteRemote` | Delete remote branch after rename |
|
|
288
352
|
|
|
289
353
|
**Configuration:** `commands.git.rename.noConfirm`, `defaults.noConfirm`
|
|
@@ -292,13 +356,21 @@ lt git rename <new-name> [options]
|
|
|
292
356
|
|
|
293
357
|
### `lt git update`
|
|
294
358
|
|
|
295
|
-
Updates the current branch (fetch + pull).
|
|
359
|
+
Updates the current branch (fetch + pull + npm install).
|
|
296
360
|
|
|
297
361
|
**Usage:**
|
|
298
362
|
```bash
|
|
299
|
-
lt git update
|
|
363
|
+
lt git update [options]
|
|
300
364
|
```
|
|
301
365
|
|
|
366
|
+
**Options:**
|
|
367
|
+
| Option | Description |
|
|
368
|
+
|--------|-------------|
|
|
369
|
+
| `--skipInstall` | Skip npm install after update |
|
|
370
|
+
| `--dry-run` | Preview incoming commits without making changes |
|
|
371
|
+
|
|
372
|
+
**Configuration:** `commands.git.update.skipInstall`, `defaults.skipInstall`
|
|
373
|
+
|
|
302
374
|
---
|
|
303
375
|
|
|
304
376
|
### `lt git clean`
|
|
@@ -307,9 +379,35 @@ Removes local merged branches.
|
|
|
307
379
|
|
|
308
380
|
**Usage:**
|
|
309
381
|
```bash
|
|
310
|
-
lt git clean
|
|
382
|
+
lt git clean [options]
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
**Options:**
|
|
386
|
+
| Option | Description |
|
|
387
|
+
|--------|-------------|
|
|
388
|
+
| `--noConfirm` | Skip confirmation prompts |
|
|
389
|
+
| `--dry-run` | Preview which branches would be deleted |
|
|
390
|
+
|
|
391
|
+
**Configuration:** `commands.git.clean.noConfirm`, `defaults.noConfirm`
|
|
392
|
+
|
|
393
|
+
---
|
|
394
|
+
|
|
395
|
+
### `lt git install-scripts`
|
|
396
|
+
|
|
397
|
+
Installs bash scripts for git operations to `~/.local/bin/`.
|
|
398
|
+
|
|
399
|
+
**Usage:**
|
|
400
|
+
```bash
|
|
401
|
+
lt git install-scripts
|
|
311
402
|
```
|
|
312
403
|
|
|
404
|
+
Installs helper scripts:
|
|
405
|
+
- `git-squash` - Squash commits
|
|
406
|
+
- `git-rebase` - Rebase branch
|
|
407
|
+
- `git-clear` - Clear changes
|
|
408
|
+
- `git-force-pull` - Force pull
|
|
409
|
+
- etc.
|
|
410
|
+
|
|
313
411
|
---
|
|
314
412
|
|
|
315
413
|
## Fullstack Commands
|
|
@@ -330,8 +428,9 @@ lt fullstack init [options]
|
|
|
330
428
|
| `--frontend <type>` | Frontend framework: `angular` or `nuxt` |
|
|
331
429
|
| `--git` | Initialize git repository |
|
|
332
430
|
| `--git-link <url>` | Git repository URL |
|
|
431
|
+
| `--noConfirm` | Skip confirmation prompts |
|
|
333
432
|
|
|
334
|
-
**Configuration:** `commands.fullstack
|
|
433
|
+
**Configuration:** `commands.fullstack.*`, `defaults.noConfirm`
|
|
335
434
|
|
|
336
435
|
---
|
|
337
436
|
|
|
@@ -354,8 +453,9 @@ lt deployment create [name] [options]
|
|
|
354
453
|
| `--gitLab` | Enable GitLab pipeline |
|
|
355
454
|
| `--testRunner <tag>` | GitLab test runner tag |
|
|
356
455
|
| `--prodRunner <tag>` | GitLab production runner tag |
|
|
456
|
+
| `--noConfirm` | Skip confirmation prompts |
|
|
357
457
|
|
|
358
|
-
**Configuration:** `commands.deployment.*`, `defaults.domain`
|
|
458
|
+
**Configuration:** `commands.deployment.*`, `defaults.domain`, `defaults.noConfirm`
|
|
359
459
|
|
|
360
460
|
---
|
|
361
461
|
|
|
@@ -433,6 +533,9 @@ lt config init [options]
|
|
|
433
533
|
| `--controller <type>` | Default controller type |
|
|
434
534
|
| `--frontend <type>` | Default frontend framework |
|
|
435
535
|
| `--interactive <bool>` | Enable/disable interactive mode |
|
|
536
|
+
| `--noConfirm` | Skip confirmation prompts (overwrite existing) |
|
|
537
|
+
|
|
538
|
+
**Configuration:** `commands.config.init.noConfirm`, `defaults.noConfirm`
|
|
436
539
|
|
|
437
540
|
---
|
|
438
541
|
|
|
@@ -458,6 +561,320 @@ lt config help
|
|
|
458
561
|
|
|
459
562
|
---
|
|
460
563
|
|
|
564
|
+
### `lt config validate`
|
|
565
|
+
|
|
566
|
+
Validates the current `lt.config` file.
|
|
567
|
+
|
|
568
|
+
**Usage:**
|
|
569
|
+
```bash
|
|
570
|
+
lt config validate
|
|
571
|
+
```
|
|
572
|
+
|
|
573
|
+
Reports syntax errors, type mismatches, and unknown keys.
|
|
574
|
+
|
|
575
|
+
---
|
|
576
|
+
|
|
577
|
+
## Utility Commands
|
|
578
|
+
|
|
579
|
+
### `lt status`
|
|
580
|
+
|
|
581
|
+
Shows project status and context.
|
|
582
|
+
|
|
583
|
+
**Usage:**
|
|
584
|
+
```bash
|
|
585
|
+
lt status
|
|
586
|
+
```
|
|
587
|
+
|
|
588
|
+
Displays:
|
|
589
|
+
- Project type detection (nest-server, nuxt, angular, etc.)
|
|
590
|
+
- Package information
|
|
591
|
+
- Git branch and repository status
|
|
592
|
+
- Configuration file status
|
|
593
|
+
- Available commands for the project type
|
|
594
|
+
|
|
595
|
+
---
|
|
596
|
+
|
|
597
|
+
### `lt doctor`
|
|
598
|
+
|
|
599
|
+
Diagnoses common development environment issues.
|
|
600
|
+
|
|
601
|
+
**Usage:**
|
|
602
|
+
```bash
|
|
603
|
+
lt doctor [options]
|
|
604
|
+
```
|
|
605
|
+
|
|
606
|
+
**Options:**
|
|
607
|
+
| Option | Description |
|
|
608
|
+
|--------|-------------|
|
|
609
|
+
| `--fix` | Attempt automatic fixes |
|
|
610
|
+
|
|
611
|
+
Checks:
|
|
612
|
+
- Node.js version
|
|
613
|
+
- npm version
|
|
614
|
+
- Git installation
|
|
615
|
+
- lt CLI version and updates
|
|
616
|
+
- Project configuration
|
|
617
|
+
- Dependencies installation
|
|
618
|
+
|
|
619
|
+
---
|
|
620
|
+
|
|
621
|
+
### `lt history`
|
|
622
|
+
|
|
623
|
+
Views and manages command history.
|
|
624
|
+
|
|
625
|
+
**Usage:**
|
|
626
|
+
```bash
|
|
627
|
+
lt history [count]
|
|
628
|
+
lt history search <pattern>
|
|
629
|
+
lt history clear
|
|
630
|
+
```
|
|
631
|
+
|
|
632
|
+
**Arguments:**
|
|
633
|
+
- `count` - Number of recent commands to show (default: 20)
|
|
634
|
+
- `search <pattern>` - Search history for matching commands
|
|
635
|
+
- `clear` - Clear command history
|
|
636
|
+
|
|
637
|
+
**Options:**
|
|
638
|
+
| Option | Description |
|
|
639
|
+
|--------|-------------|
|
|
640
|
+
| `--noConfirm` | Skip confirmation when clearing |
|
|
641
|
+
|
|
642
|
+
---
|
|
643
|
+
|
|
644
|
+
### `lt completion`
|
|
645
|
+
|
|
646
|
+
Generates and installs shell completion scripts.
|
|
647
|
+
|
|
648
|
+
**Usage:**
|
|
649
|
+
```bash
|
|
650
|
+
lt completion install # Install completions (recommended)
|
|
651
|
+
lt completion <bash|zsh|fish> # Output completion script
|
|
652
|
+
```
|
|
653
|
+
|
|
654
|
+
**How it works:**
|
|
655
|
+
- Generates **static completion files** at install time (no runtime overhead)
|
|
656
|
+
- Completions are **auto-updated** when CLI is installed/updated
|
|
657
|
+
- Files are loaded once at shell startup
|
|
658
|
+
|
|
659
|
+
**Installation:**
|
|
660
|
+
```bash
|
|
661
|
+
# Automatic (recommended)
|
|
662
|
+
lt completion install
|
|
663
|
+
|
|
664
|
+
# Manual (if needed)
|
|
665
|
+
lt completion bash > ~/.local/share/lt/completions/lt.bash
|
|
666
|
+
lt completion zsh > ~/.local/share/lt/completions/_lt
|
|
667
|
+
lt completion fish > ~/.config/fish/completions/lt.fish
|
|
668
|
+
```
|
|
669
|
+
|
|
670
|
+
**Completion file locations:**
|
|
671
|
+
- Bash: `~/.local/share/lt/completions/lt.bash`
|
|
672
|
+
- Zsh: `~/.local/share/lt/completions/_lt`
|
|
673
|
+
- Fish: `~/.config/fish/completions/lt.fish`
|
|
674
|
+
|
|
675
|
+
---
|
|
676
|
+
|
|
677
|
+
### `lt templates list`
|
|
678
|
+
|
|
679
|
+
Lists available templates.
|
|
680
|
+
|
|
681
|
+
**Usage:**
|
|
682
|
+
```bash
|
|
683
|
+
lt templates list
|
|
684
|
+
```
|
|
685
|
+
|
|
686
|
+
Shows:
|
|
687
|
+
- Built-in templates
|
|
688
|
+
- Custom templates (~/.lt/templates)
|
|
689
|
+
- Project templates (./lt-templates)
|
|
690
|
+
|
|
691
|
+
---
|
|
692
|
+
|
|
693
|
+
## Database Commands
|
|
694
|
+
|
|
695
|
+
### `lt mongodb collection-export`
|
|
696
|
+
|
|
697
|
+
Exports a MongoDB collection to JSON file.
|
|
698
|
+
|
|
699
|
+
**Usage:**
|
|
700
|
+
```bash
|
|
701
|
+
lt mongodb collection-export [options]
|
|
702
|
+
```
|
|
703
|
+
|
|
704
|
+
**Options:**
|
|
705
|
+
| Option | Description |
|
|
706
|
+
|--------|-------------|
|
|
707
|
+
| `--mongoUri <uri>` | MongoDB connection URI |
|
|
708
|
+
| `--database <name>` | Database name |
|
|
709
|
+
| `--collection <name>` | Collection name |
|
|
710
|
+
| `--output <path>` | Output file path |
|
|
711
|
+
|
|
712
|
+
---
|
|
713
|
+
|
|
714
|
+
### `lt mongodb s3-restore`
|
|
715
|
+
|
|
716
|
+
Restores a MongoDB database from an S3 backup.
|
|
717
|
+
|
|
718
|
+
**Usage:**
|
|
719
|
+
```bash
|
|
720
|
+
lt mongodb s3-restore [options]
|
|
721
|
+
```
|
|
722
|
+
|
|
723
|
+
**Options:**
|
|
724
|
+
| Option | Description |
|
|
725
|
+
|--------|-------------|
|
|
726
|
+
| `--bucket <name>` | S3 bucket name |
|
|
727
|
+
| `--key <key>` | S3 access key ID |
|
|
728
|
+
| `--secret <secret>` | S3 secret access key |
|
|
729
|
+
| `--url <url>` | S3 endpoint URL |
|
|
730
|
+
| `--region <region>` | S3 region |
|
|
731
|
+
| `--folder <folder>` | S3 folder/prefix |
|
|
732
|
+
| `--mongoUri <uri>` | MongoDB connection URI |
|
|
733
|
+
| `--database <name>` | Target database name |
|
|
734
|
+
|
|
735
|
+
---
|
|
736
|
+
|
|
737
|
+
### `lt qdrant stats`
|
|
738
|
+
|
|
739
|
+
Shows statistics for Qdrant collections.
|
|
740
|
+
|
|
741
|
+
**Usage:**
|
|
742
|
+
```bash
|
|
743
|
+
lt qdrant stats
|
|
744
|
+
```
|
|
745
|
+
|
|
746
|
+
---
|
|
747
|
+
|
|
748
|
+
### `lt qdrant delete`
|
|
749
|
+
|
|
750
|
+
Deletes a Qdrant collection.
|
|
751
|
+
|
|
752
|
+
**Usage:**
|
|
753
|
+
```bash
|
|
754
|
+
lt qdrant delete
|
|
755
|
+
```
|
|
756
|
+
|
|
757
|
+
---
|
|
758
|
+
|
|
759
|
+
## TypeScript Commands
|
|
760
|
+
|
|
761
|
+
### `lt typescript create`
|
|
762
|
+
|
|
763
|
+
Creates a new TypeScript project.
|
|
764
|
+
|
|
765
|
+
**Usage:**
|
|
766
|
+
```bash
|
|
767
|
+
lt typescript create [name] [options]
|
|
768
|
+
```
|
|
769
|
+
|
|
770
|
+
**Options:**
|
|
771
|
+
| Option | Description |
|
|
772
|
+
|--------|-------------|
|
|
773
|
+
| `--author <name>` | Author name |
|
|
774
|
+
| `--noConfirm` | Skip confirmation prompts |
|
|
775
|
+
| `--updatePackages` | Update packages to latest versions |
|
|
776
|
+
|
|
777
|
+
**Configuration:** `commands.typescript.create.*`, `defaults.author`, `defaults.noConfirm`
|
|
778
|
+
|
|
779
|
+
---
|
|
780
|
+
|
|
781
|
+
### `lt typescript playground`
|
|
782
|
+
|
|
783
|
+
Opens TypeScript playground.
|
|
784
|
+
|
|
785
|
+
**Usage:**
|
|
786
|
+
```bash
|
|
787
|
+
lt typescript playground
|
|
788
|
+
```
|
|
789
|
+
|
|
790
|
+
---
|
|
791
|
+
|
|
792
|
+
## Starter Commands
|
|
793
|
+
|
|
794
|
+
### `lt starter chrome-extension`
|
|
795
|
+
|
|
796
|
+
Creates a Chrome extension project.
|
|
797
|
+
|
|
798
|
+
**Usage:**
|
|
799
|
+
```bash
|
|
800
|
+
lt starter chrome-extension [name]
|
|
801
|
+
```
|
|
802
|
+
|
|
803
|
+
---
|
|
804
|
+
|
|
805
|
+
## Claude Commands
|
|
806
|
+
|
|
807
|
+
### `lt claude plugins`
|
|
808
|
+
|
|
809
|
+
Manages Claude Code plugins.
|
|
810
|
+
|
|
811
|
+
**Usage:**
|
|
812
|
+
```bash
|
|
813
|
+
lt claude plugins
|
|
814
|
+
```
|
|
815
|
+
|
|
816
|
+
Lists and manages installed Claude Code plugins.
|
|
817
|
+
|
|
818
|
+
---
|
|
819
|
+
|
|
820
|
+
## Blocks & Components
|
|
821
|
+
|
|
822
|
+
### `lt blocks add`
|
|
823
|
+
|
|
824
|
+
Adds code blocks to your project from the lenne.tech component library.
|
|
825
|
+
|
|
826
|
+
**Usage:**
|
|
827
|
+
```bash
|
|
828
|
+
lt blocks add [block-name] [options]
|
|
829
|
+
```
|
|
830
|
+
|
|
831
|
+
**Options:**
|
|
832
|
+
| Option | Description |
|
|
833
|
+
|--------|-------------|
|
|
834
|
+
| `--noConfirm` | Skip confirmation prompts (auto-install dependencies) |
|
|
835
|
+
|
|
836
|
+
**Configuration:** `commands.blocks.add.noConfirm`, `defaults.noConfirm`
|
|
837
|
+
|
|
838
|
+
---
|
|
839
|
+
|
|
840
|
+
### `lt components add`
|
|
841
|
+
|
|
842
|
+
Adds components to your project from the lenne.tech component library.
|
|
843
|
+
|
|
844
|
+
**Usage:**
|
|
845
|
+
```bash
|
|
846
|
+
lt components add [component-name] [options]
|
|
847
|
+
```
|
|
848
|
+
|
|
849
|
+
**Options:**
|
|
850
|
+
| Option | Description |
|
|
851
|
+
|--------|-------------|
|
|
852
|
+
| `--noConfirm` | Skip confirmation prompts (auto-install dependencies) |
|
|
853
|
+
|
|
854
|
+
**Configuration:** `commands.components.add.noConfirm`, `defaults.noConfirm`
|
|
855
|
+
|
|
856
|
+
---
|
|
857
|
+
|
|
858
|
+
## Template Commands
|
|
859
|
+
|
|
860
|
+
### `lt templates llm`
|
|
861
|
+
|
|
862
|
+
Gets LLM prompt templates.
|
|
863
|
+
|
|
864
|
+
**Usage:**
|
|
865
|
+
```bash
|
|
866
|
+
lt templates llm [prompt-name] [options]
|
|
867
|
+
```
|
|
868
|
+
|
|
869
|
+
**Options:**
|
|
870
|
+
| Option | Description |
|
|
871
|
+
|--------|-------------|
|
|
872
|
+
| `--output <path>` / `-o` | Save to file |
|
|
873
|
+
| `--clipboard` / `-c` | Copy to clipboard |
|
|
874
|
+
| `--display` / `-d` | Display in terminal |
|
|
875
|
+
|
|
876
|
+
---
|
|
877
|
+
|
|
461
878
|
## Other Commands
|
|
462
879
|
|
|
463
880
|
### `lt update`
|
|
@@ -498,15 +915,48 @@ lt tools crypt [password]
|
|
|
498
915
|
|
|
499
916
|
---
|
|
500
917
|
|
|
918
|
+
### `lt tools sha256`
|
|
919
|
+
|
|
920
|
+
Generates a SHA256 hash.
|
|
921
|
+
|
|
922
|
+
**Usage:**
|
|
923
|
+
```bash
|
|
924
|
+
lt tools sha256 [text]
|
|
925
|
+
```
|
|
926
|
+
|
|
927
|
+
---
|
|
928
|
+
|
|
929
|
+
### `lt tools jwt-read`
|
|
930
|
+
|
|
931
|
+
Reads and decodes a JWT token.
|
|
932
|
+
|
|
933
|
+
**Usage:**
|
|
934
|
+
```bash
|
|
935
|
+
lt tools jwt-read [token]
|
|
936
|
+
```
|
|
937
|
+
|
|
938
|
+
---
|
|
939
|
+
|
|
940
|
+
### `lt tools regex`
|
|
941
|
+
|
|
942
|
+
Tests regular expressions.
|
|
943
|
+
|
|
944
|
+
**Usage:**
|
|
945
|
+
```bash
|
|
946
|
+
lt tools regex [pattern] [text]
|
|
947
|
+
```
|
|
948
|
+
|
|
949
|
+
---
|
|
950
|
+
|
|
501
951
|
## Configuration Priority
|
|
502
952
|
|
|
503
953
|
All configurable commands follow this priority order (highest to lowest):
|
|
504
954
|
|
|
505
|
-
1. **
|
|
506
|
-
2. **
|
|
507
|
-
3. **
|
|
508
|
-
4. **
|
|
509
|
-
5. **
|
|
510
|
-
6. **
|
|
955
|
+
1. **CLI parameters** (e.g., `--noConfirm`)
|
|
956
|
+
2. **Command-specific config** (e.g., `commands.git.get.noConfirm`)
|
|
957
|
+
3. **Category-level config** (e.g., `commands.git.noConfirm`)
|
|
958
|
+
4. **Global defaults** (e.g., `defaults.noConfirm`)
|
|
959
|
+
5. **Code defaults**
|
|
960
|
+
6. **Interactive user input** (only if no value determined from above)
|
|
511
961
|
|
|
512
962
|
For detailed configuration options, see [lt.config.md](./lt.config.md).
|