bash-pass/bashpass.sh

31 lines
529 B
Bash
Raw Normal View History

2015-06-01 00:41:02 -05:00
#!/bin/bash
source functions.sh
case "$1" in
-cs | --char-size ) shaWithNum $2
2015-06-01 00:41:02 -05:00
;;
-l | --left-hand ) leftHand
2015-06-01 00:41:02 -05:00
;;
-lcs | --left-char-size ) leftHandNum $2
2015-06-01 00:41:02 -05:00
;;
"") shaStatic
2015-06-01 00:41:02 -05:00
;;
* | -h | --help ) echo
echo "BASH PASS HELP"
echo
echo "-cs <integer> | --char-size <integer> : specify password character size"
echo
echo
echo "-l <integer> | <integer> --lefthand : left handed password"
echo
echo "-lcs <integer> | --left-char-size <integer> : left hand password with char size"
echo
;;
esac