Join GitHub today
Message verbosity #22
This is related to discussion about issue #21 and the need for displaying messages at different level of verbosity.
Seems alright other than the odd level ordering. Needs documentation, though.
Doesn't work on macOS Mojave, sadly:
> pgenv versions /Users/david/pg/bin/pgenv: line 8: declare: -A: invalid option declare: usage: declare [-afFirtx] [-p] [name[=value] ...] > bash --version GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18) Copyright (C) 2007 Free Software Foundation, Inc.
Maybe use an array and declare variables that hold the log levels?