Skip to content

Instantly share code, notes, and snippets.

@manuel-sugawara
Created December 29, 2016 00:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manuel-sugawara/817bb6a53b594867cd66e758f424b790 to your computer and use it in GitHub Desktop.
Save manuel-sugawara/817bb6a53b594867cd66e758f424b790 to your computer and use it in GitHub Desktop.
letme-get-help-for-that() {
cmd=$@
IFS=:
for x in `echo "$ ${cmd} --help" | perl -p -e 's/(.)/$1:/g'`; do printf "%s" "$x"; sleep 0.5; done
for ((y=0;y<6;y++)); do sleep 0.5; echo -n "\b"; done ;
tput smul; tput bold;
for x in `echo "--help" | perl -p -e 's/(.)/$1:/g'`; do sleep 0.5; printf "%s" "$x"; done;
tput rmul; tput sgr0;
echo ""
$cmd --help
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment