Skip to main content

Information Commands

Information commands report versions, list commands, and test connections. All of them are free.

Every command that takes a <target> expects the Key of a database listed under Databases in dubnium.yml (for example local or test). Matching is case-insensitive, and an unknown key fails the command.

version​

Display the Dubnium version.

Alias: -v

dbm version
dbm -v

versiondb​

Show the highest migration version deployed to a database target.

Alias: -vdb

dbm versiondb <target>
dbm -vdb local

Reads the highest Version recorded in the target's dbo.__DubniumInfo table, across all script types. Run dbm setup <target> first if the table does not exist yet.

help​

List all commands.

Alias: -h

dbm help
dbm -h

Lists commands grouped by category, with their aliases and descriptions. Paid commands are marked *; commands still in development are marked +.

test​

Test the connection to every configured database target.

Alias: -t

dbm test
dbm -t

Resolves each target's connection string (inline, environment variable, or Cryptex file) and opens a connection, reporting SUCCESS or FAILED per target. A failing target does not stop the remaining tests.

update​

Display the command that installs or updates the tool.

Alias: -u

dbm update
dbm -u

Prints:

dotnet tool update --global dubnium-cli