SIGN IN SIGN UP

Cli graceful db url (#383)

Get the database URL to use for the DBOS application.

    Order of precedence:
    - If the `db_url` argument is provided, use it.
- If the `dbos-config.yaml` file is present, use the `database_url` from
it.
    - If the `DBOS_DATABASE_URL` environment variable is set, use it.

Otherwise fallback to the same default Postgres URL than the DBOS
library.
Note that for the latter to be possible, a configuration file must have
been found, with an application name set.
M
Max dml committed
249eebadbbd2ff4e41a9bb58ae9d303de8e8e52b
Parent: 89acf78
Committed by GitHub <noreply@github.com> on 6/12/2025, 1:04:19 AM