BuilderIO / BuilderIO/ai-shell
Allow users to specify a `-y` argument for not asking to execute the script
- Dominant language
- TypeScript
- Stars
- 5.3k
- Forks
- 377
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Thank you very much for your program.
I would like to create a script with for example this command :
```
#!/bin/bash
ai -s open nemo in the home folder
```
Unfortunately it doesn't works because of the prompt :
◆ Exécuter ce script?
│ ● ✅ Oui (Allons-y!)
│ ○ 📝 Modifier
│ ○ 🔁 Réviser
│ ○ 📋 Copier
│ ○ ❌ Annuler
└
Could it be possible to add a `-y` argument for not showing this prompt ?
```
#!/bin/bash
ai -s -y open nemo in the home folder
```
Thanks ;-)
Contributor guide
Research direction
Start at the CLI entry point handling the `ai -s` command and trace how the execution confirmation prompt is selected. Add the requested `-y` invocation so the prompt is skipped, while the existing command continues to prompt without it. Verify the example shell-script usage behaves as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100