{"id":22918211,"url":"https://github.com/stlbucket/pgdbi-cli","last_synced_at":"2025-04-01T13:17:04.805Z","repository":{"id":57322687,"uuid":"202456327","full_name":"stlbucket/pgdbi-cli","owner":"stlbucket","description":null,"archived":false,"fork":false,"pushed_at":"2020-06-01T21:18:12.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T00:31:38.153Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stlbucket.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-15T02:03:20.000Z","updated_at":"2020-06-01T21:18:15.000Z","dependencies_parsed_at":"2022-08-26T01:11:27.463Z","dependency_job_id":null,"html_url":"https://github.com/stlbucket/pgdbi-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"sindresorhus/node-cli-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stlbucket%2Fpgdbi-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stlbucket%2Fpgdbi-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stlbucket%2Fpgdbi-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stlbucket%2Fpgdbi-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stlbucket","download_url":"https://codeload.github.com/stlbucket/pgdbi-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246644099,"owners_count":20810687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-14T06:29:25.573Z","updated_at":"2025-04-01T13:17:04.777Z","avatar_url":"https://github.com/stlbucket.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# pgdbi-cli\n\na command line tool to easily run pgdbi\n\n\n## Install\n\n```\n$ npm install --global pgdbi\n```\n\n## Usage\n```\n$ pgdbi\n\npgdbi\n\nOptions:\n  --help                     Show help                                 [boolean]\n  --version                  Show version number                       [boolean]\n  -v, --verbose                            [boolean] [required] [default: false]\n  -c, --postgres-connection  postgres connection uri: https://www.postgresql.org\n                             /docs/10/libpq-connect.html#id-1.7.3.8.3.6\n                                                                      [required]\n  -s, --schemata-to-graphql  comma-delimited list of schemas to expose via\n                             postgraphile.  ex: \"schema_one,schema_two\"\n                                                                      [required]\n  -p, --port                 the port on which to expose pgdbi\n                                                        [number] [default: 5000]\n  -q, --enable-sqitch        sqitch inspector will be enabled\n                                                      [boolean] [default: false]```\n```\n-- example using docker for postgres\n```\npgdbi -c postgres://postgres:1234@0.0.0.0/pg_phile_starter -s auth,auth_fn,org,org_fn,prj\n```\n\nor, using npx\n```\nnpx pgdbi -c postgres://postgres:1234@0.0.0.0/pg_phile_starter -s auth,auth_fn,org,org_fn,prj\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstlbucket%2Fpgdbi-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstlbucket%2Fpgdbi-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstlbucket%2Fpgdbi-cli/lists"}