issues
search
TBD54566975
/
tbdex-pfi-exemplar
4
stars
8
forks
source link
Address `shellcheck` error and warnings
#18
Closed
lamchau
closed
9 months ago
lamchau
commented
9 months ago
[x] addressed a handful of
shellcheck
warnings and errors
[x]
SC2086
[x]
SC2125
[x]
SC2223
[x] applied
shfmt
for consistent style, used
env bash
for portability
[x] use
--long-options
for self-documenting features
[x] added color support for logging (
RED
and
YELLOW
were unused, but I think I captured the intent of where they
might
be used
[x] replace color escape codes with
tput
for unsupported/non-tty
$TERM
s
shellcheck
warnings and errorsshfmt
for consistent style, usedenv bash
for portability--long-options
for self-documenting featuresRED
andYELLOW
were unused, but I think I captured the intent of where they might be usedtput
for unsupported/non-tty$TERM
s