Commandscc db
cc db list
List the databases linked to the current environment, with the active one marked.
Usage
cc db listWhat it does
- Requires an active environment — run
cc switchfirst. - Prints a table of the environment's pool (plus the active database if it isn't already in the pool). The active database is marked with a ●, and any database with a live
-CC-COPYis marked with a ✓ in the Copy column. - If nothing is linked, it points you at
cc db use.
This reads from the local metadata cache, so it's instant and never blocks on
psql.
Related
cc db— database group overviewcc db use— set the active databasecc db link/cc db unlink— manage the pool