cobra-cli icon indicating copy to clipboard operation
cobra-cli copied to clipboard

init flag is overwriting main without prompting about it

Open Muskra opened this issue 4 months ago • 1 comments

Hello there,

I used the init flag to init the library and the script seem's to overwrite the main file without prompting about it. It's annoying behaviors and should be explicit and/or appending to the file to prevent any issues.

Is it possible to add an alert message with a user validation ?

A '--force' flag could be added too incase the user want's to overwrite without prompting.

Thanks for considering.

Muskra avatar Oct 09 '24 19:10 Muskra