|0.1.4||Nov 20, 2022|
|0.1.3||Nov 19, 2022|
|0.1.2||Nov 19, 2022|
|0.1.1||Nov 18, 2022|
|0.1.0||Nov 17, 2022|
#485 in Command line utilities
32 downloads per month
AYS - Are You Sure?
ays (Are You Sure?) is small command line application that asks the user for confirmation before piping
stdin into its
stdout. If the user does not successfully confirm,
EOF to its
ays is a great utility when defining shell aliases that you'd like to have a user confirmation before proceeding.
I've personally found that
ays is a great companion for
fzf, but I'm pretty sure people will find other really
interesting use cases. See some of my personal use cases down below.
cargo install ays
ays ["alternative prompt"]
If you'd like
ays to use a different prompt message than the default "Are you sure?", you can specify it as its
ays will append the closing question mark itself).
Deleting git branches locally checked out
alias gbd="git for-each-ref --format='%(refname:short)' refs/heads/ | fzf --height=~20 | ays | xargs git branch -D"