mirror of
https://github.com/pstadler/metrics.sh.git
synced 2025-02-28 13:59:12 -05:00
18 lines
191 B
Bash
18 lines
191 B
Bash
#!/bin/sh
|
|
|
|
VERBOSE_MODE=false
|
|
|
|
verbose_on () {
|
|
VERBOSE_MODE=true
|
|
}
|
|
|
|
verbose_off () {
|
|
VERBOSE_MODE=true
|
|
}
|
|
|
|
verbose () {
|
|
if [ $VERBOSE_MODE = "false" ]; then
|
|
return
|
|
fi
|
|
echo "$@"
|
|
} |