Support psql (#40)

support for pg client
This commit is contained in:
Ashish Mohite 2019-07-24 17:49:48 +05:30 committed by Kunal Dabir
parent b82d650df0
commit 197dce1d03
1 changed files with 4 additions and 0 deletions

4
has
View File

@ -85,6 +85,7 @@ __detect(){
homebrew ) command="brew" ;;
awsebcli ) command="eb" ;;
awscli ) command="aws" ;;
postgresql ) command="psql" ;;
*coreutils|linux*utils) command="gnu_coreutils" ;;
* ) command=${name} ;;
esac
@ -121,6 +122,9 @@ __detect(){
tar|pv) __dynamic_detect--version "${command}" ;;
docker) __dynamic_detect--version "${command}" ;;
## Database CLI
psql) __dynamic_detect--version "${command}" ;;
## Scripting Language / runtime
ruby|R|python|python3) __dynamic_detect--version "${command}" ;;