{"version":"1.0.12","commands":{"db-create":{"id":"db-create","description":"create an empty database","pluginName":"pg-god","pluginType":"core","aliases":["db:create"],"examples":["$ pg-god db-create --databaseName=bank-db","$ DB_NAME=bank-db pg-god db-create","$ pg-god db-create --url postgresql://localhost:5432/bank-db","$ pg-god db-create --databaseName=bank-db --errorIfExist","$ pg-god db-create --databaseName=bank-db --password=123 --port=5433 --host=a.example.com --userName=beer"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"errorIfExist":{"name":"errorIfExist","type":"boolean","char":"e","description":"[default: false] whether throw error if DB already exists","allowNo":false},"initialDb":{"name":"initialDb","type":"option","char":"i","description":"Initial DB name","default":"postgres"},"databaseName":{"name":"databaseName","type":"option","char":"n","description":"new DB name"},"userName":{"name":"userName","type":"option","char":"u","description":"DB user name","default":"postgres"},"port":{"name":"port","type":"option","char":"p","description":"DB port, default `5432`","default":5432},"host":{"name":"host","type":"option","char":"o","description":"new DB host","default":"localhost"},"password":{"name":"password","type":"option","char":"w","description":"[default: empty] DB password","default":""},"url":{"name":"url","type":"option","char":"l","description":"DB URL, e.g. postgres://username:password@localhost:5432/my_db"}},"args":[]},"db-drop":{"id":"db-drop","description":"drop a database","pluginName":"pg-god","pluginType":"core","aliases":["db:drop"],"examples":["$ pg-god db-drop --databaseName=bank-db","$ DB_NAME=bank-db pg-god db-drop","$ pg-god db-drop --url postgresql://localhost:5432/bank-db","$ pg-god db-drop --databaseName=bank-db --errorIfNonExist --no-dropConnections","$ pg-god db-drop --databaseName=bank-db --password=123 --port=5433 --host=a.example.com --userName=beer"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"errorIfNonExist":{"name":"errorIfNonExist","type":"boolean","char":"e","description":"[default: false] whether throw error if DB doesn't exist","allowNo":false},"dropConnections":{"name":"dropConnections","type":"boolean","char":"d","description":"[default: true] whether automatically drop DB connections","allowNo":true},"initialDb":{"name":"initialDb","type":"option","char":"i","description":"Initial DB name","default":"postgres"},"databaseName":{"name":"databaseName","type":"option","char":"n","description":"name of DB that will be dropped"},"userName":{"name":"userName","type":"option","char":"u","description":"DB user name","default":"postgres"},"port":{"name":"port","type":"option","char":"p","description":"DB port, default `5432`","default":5432},"host":{"name":"host","type":"option","char":"o","description":"DB host","default":"localhost"},"password":{"name":"password","type":"option","char":"w","description":"[default: empty] DB password","default":""},"url":{"name":"url","type":"option","char":"l","description":"URL of DB that will be dropped, e.g. postgres://username:password@localhost:5432/my_db"}},"args":[]}}}