You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,6 +126,21 @@ CONFLICT - same level:
126
126
### Test Warnings
127
127
Use `suppressWarnings: true` when creating Config instances in tests.
128
128
129
+
### Running lt CLI Commands (AI Agent Usage)
130
+
When executing `lt` commands, prefer explicit parameters over interactive prompts where possible. The CLI will show a hint in non-interactive mode, but you can avoid it by providing the required flags:
lt server create --name my-server --api-mode GraphQL --noConfirm
135
+
lt server module --name MyModule --controller auto --noConfirm
136
+
137
+
# BAD - will enter interactive mode
138
+
lt fullstack init
139
+
lt server create
140
+
lt server module
141
+
```
142
+
Key flags: `--noConfirm` skips all confirmations, `--name` sets the project/module name. See `docs/commands.md` for all available parameters per command.
Copy file name to clipboardExpand all lines: docs/commands.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -436,10 +436,12 @@ lt fullstack init [options]
436
436
|`--frontend-branch <branch>`| Branch of frontend starter to use (ng-base-starter or nuxt-base-starter) |
437
437
|`--frontend-copy <path>`| Copy frontend from local template directory |
438
438
|`--frontend-link <path>`| Symlink frontend to local template (fastest, changes affect original) |
439
-
|`--git`|Initialize git repository |
440
-
|`--git-link <url>`| Git repository URL |
439
+
|`--git`|Push initial commit to remote repository (git is always initialized)|
440
+
|`--git-link <url>`| Git remote repository URL (required when `--git` is true)|
441
441
|`--noConfirm`| Skip confirmation prompts |
442
442
443
+
**Note:** Git is always initialized with the `dev` branch. The `--git` flag only controls whether the initial commit is pushed to a remote repository.
444
+
443
445
**Note:** For Nuxt frontends with `--frontend-copy` or `--frontend-link`, specify the path to the `nuxt-base-template/` subdirectory, not the repository root.
|`defaults.packageManager`|`'npm'`\|`'pnpm'`\|`'yarn'`|`'npm'`| Fallback when no lockfile is found. Auto-detection from lockfiles takes precedence. Used by: all commands that run package manager operations |
This means all CLI commands (`lt server create`, `lt fullstack init`, `lt npm reinit`, etc.) will use the correct package manager automatically without any configuration needed.
150
+
136
151
### Global vs Command-Specific Settings
137
152
138
153
Global defaults provide a convenient way to set organization-wide preferences. Command-specific settings override these when you need different behavior for a particular command.
@@ -525,8 +540,8 @@ Creates a new fullstack workspace with API and frontend.
525
540
| `commands.fullstack.frontendBranch` | `string` | - | Branch of frontend starter to use (ng-base-starter or nuxt-base-starter) |
526
541
| `commands.fullstack.frontendCopy` | `string` | - | Path to local frontend template directory to copy instead of cloning |
527
542
| `commands.fullstack.frontendLink` | `string` | - | Path to local frontend template directory to symlink (fastest, changes affect original) |
0 commit comments