Skip to content

info

Show configuration, provider, environments, and paths. Alias: config.

Database required: No

Usage

bash
dbsh info
dbsh info --json

Also accepts global options.

Example output

 dbsh Configuration

  Provider:         PostgreSQL
  Base path:        /home/user/myapp
  Config file:      /home/user/myapp/Database/Config/migration.json
  Scripts path:     /home/user/myapp/Database/Migrations
  Tracking schema:  public

  Environments:
    - local
    - development
    - staging
    - production

When to use

  • Verify your configuration is loaded correctly
  • Check which environments are available
  • Confirm the resolved provider and paths
  • Debug connection string or config issues

Released under the MIT License.