feat(cli): auto-submit prompt when using --prompt flag (#4510)

This commit is contained in:
Mark Jaquith
2025-12-14 21:06:04 -06:00
committed by GitHub
parent 2d63c22d1a
commit ed33d82535
2 changed files with 6 additions and 1 deletions
@@ -57,6 +57,7 @@ export function Home() {
} else if (args.prompt) {
prompt.set({ input: args.prompt, parts: [] })
once = true
prompt.submit()
}
})
const directory = useDirectory()