austinjones / tab-rs

The intuitive, config-driven terminal multiplexer designed for software & systems engineers
MIT License
660 stars 29 forks source link

add --yes/-y to not confirm install #355

Closed gregwebs closed 3 years ago

gregwebs commented 3 years ago

closes #354

The way the argument is added isn't ideal since the argument isn't properly limited to install, but it works. On the other hand it is possible that we may want to do a confirm for shutdown or some other command in the future.

I tested this and when I added --yes before --install it did not ask for confirmation. Without --yes it did ask for confirmation.

gregwebs commented 3 years ago

@austinjones I hope you can find time for a review.

austinjones commented 3 years ago

Hi @gregwebs. Apologies for the slow merge here. Looks good! Thanks for the PR.