yonaskolb / Mint

A package manager that installs and runs executable Swift packages
MIT License
2.26k stars 122 forks source link

bootstrap command should have a `-y/n` option so it does not halt execution and wait for input #182

Closed daltonclaybrook closed 3 years ago

daltonclaybrook commented 4 years ago

Running mint bootstrap --link has the possibility of halting execution and waiting for input if a binary already exists at the install path. This is problematic when running the command on CI which cannot respond to this prompt. Other package managers like apt-get provide an option to pass -y or -n to automatically respond to these prompts.

This option may be applicable on other commands as well, such as mint install