imsnif / diskonaut

Terminal disk space navigator 🔭
MIT License
2.49k stars 66 forks source link

Add option to delete with out a confirmation prompt #71

Closed markafarrell closed 4 years ago

markafarrell commented 4 years ago

Addresses #68

This option can be enabled by using the --disable-delete-confirmation flag.

By default it is disabled.

Note: When reviewing, please pay close attention to the difference between diskonaut__tests__cases__ui__delete_folder_no_confirmation-4.snap and diskonaut__tests__cases__ui__delete_folder-5.snap When confirmation is disabled the box is rendered but not when the confirmation is enabled.

Please mention if this needs to be fixed or not.