Commit 25f7c8a
committed
feat(chat): add --workdir/-C flag to set working directory at session start
Allows users to start a chat session in a specific directory without
needing to cd first or restart the session:
kiro-cli chat --workdir /path/to/project
kiro-cli chat -C /path/to/project
The working directory is set before any other initialization, so LSP
discovery, .kiro config loading, and context detection all use the
specified path.1 parent fc482ca commit 25f7c8a
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
255 | 258 | | |
256 | 259 | | |
257 | 260 | | |
258 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
259 | 267 | | |
260 | 268 | | |
261 | 269 | | |
| |||
0 commit comments