2fa tool for viewing your 2FA codes
This commit is contained in:
@@ -32,7 +32,7 @@ Examples:
|
||||
|
||||
Run qolop as script to print ANSI code table, or evaluate commands
|
||||
|
||||
qolop eval "_qCol G; printf hello; _qCol z" | qolop export
|
||||
qolop eval "_qCol G; printf hello; _qCol z" | qolop escape
|
||||
|
||||
The first command produces string with ANSI commands, the
|
||||
second will escape the escape characters, so you can copy/paste
|
||||
@@ -184,7 +184,7 @@ if [[ "$0" = "${BASH_SOURCE[0]}" ]]; then
|
||||
eval "$@"
|
||||
exit
|
||||
}
|
||||
[[ "$1" = "export" ]] && {
|
||||
[[ "$1" = "escape" ]] && {
|
||||
cat - | sed s/$'\e'/\\\\033/g
|
||||
echo ''
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user