Created
December 29, 2016 00:17
-
-
Save manuel-sugawara/817bb6a53b594867cd66e758f424b790 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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