ai-shell icon indicating copy to clipboard operation
ai-shell copied to clipboard

Allow users to specify a `-y` argument for not asking to execute the script

Open pzim-devdata opened this issue 2 years ago • 0 comments

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 ;-)

pzim-devdata avatar Jun 21 '23 10:06 pzim-devdata