Prompt for password if it isn't passed in #15
Closed
by weskerfoot opened 6 years ago
·
1 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(MISSING)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
It might be helpful for people who are paranoid about their bash history to have the option of entering their password interactively.
Additionally, it could detect if you passed an empty string and prompt for it in that case as well.
A workaround at the moment is to prefix your invocation of the command with a space which will cause bash (and maybe other shells?) to not log it in your history.
Fixed in https://github.com/weskerfoot/DeleteFB/pull/16