CLI Reference
dbc
Usage
Commands
- dbc search
Search for a driver to install
- dbc install
Install a driver
- dbc uninstall
Uninstall a driver
- dbc init
Create a driver list file
- dbc add
Add a driver to the driver list
- dbc remove
Remove a driver from the driver list
- dbc sync
Install the drivers from the driver list
- dbc info
Get information about a driver
- dbc docs
Open driver documentation in a web browser
- dbc auth
Manage driver registry credentials
search
Search for a driver to install.
Usage
Arguments
PATTERN-
Optional. A pattern to restrict the list of drivers returned by. Driver names are matched by wildcard so substrings may be used.
Options
--jsonSINCE v0.2.0-
Print output as JSON instead of plaintext
--preSINCE v0.2.0-
Include pre-release drivers and versions (hidden by default)
--verbose,-v-
Enable verbose output
--quiet,-qSINCE v0.2.0-
Suppress all output
install
Install a driver.
To install multiple versions of the same driver on the same system, it's recommend to use ADBC_DRIVER_PATH. See Config Level.
Usage
Arguments
DRIVER-
Name of the driver to install. Can be a short driver name or a driver name with version requirement. Examples:
bigquery,bigquery=1.0.0,bigquery>1. Can also be a path to a local driver archive, see Installing Drivers: From Local Archive for more information.
Options
--jsonSINCE v0.2.0-
Print output as JSON instead of plaintext
--level LEVEL,-l LEVEL-
The configuration level to install the driver to (
user, orsystem). See Config Level. --no-verify-
Allow installation of drivers without a signature file
--preSINCE v0.2.0-
Allow implicit installation of pre-release versions
--quiet,-qSINCE v0.2.0-
Suppress all output
uninstall
Uninstall a driver.
Usage
Arguments
DRIVER-
Name of the driver to uninstall.
Options
--jsonSINCE v0.2.0-
Print output as JSON instead of plaintext
--level LEVEL,-l LEVEL-
The configuration level to uninstall the driver from (
user, orsystem). See Config Level. --quiet,-qSINCE v0.2.0-
Suppress all output
init
Create a driver list file.
Usage
Arguments
PATH-
Optional. A path to create a driver list under. Defaults to the current working directory.
Options
--quiet,-qSINCE v0.2.0-
Suppress all output
add
Add a driver to a current driver list.
Usage
Arguments
DRIVER-
Name of the driver to add. Can be a short driver name or a driver name with version requirement. Examples:
bigquery,bigquery=1.0.0,bigquery>1.
Options
--path FILE,-p FILE-
Driver list to add to [default: ./dbc.toml]
--preSINCE v0.2.0-
Allow pre-release versions implicitly
--quiet,-qSINCE v0.2.0-
Suppress all output
remove
Remove a driver from the current driver list.
Usage
Arguments
DRIVER-
Name of the driver to remove.
Options
--path FILE,-p FILE-
Driver list to remove from [default: ./dbc.toml]
--quiet,-qSINCE v0.2.0-
Suppress all output
sync
Install drivers from a driver list.
Also creates a dbc.lock file next to the driver list.
If dbc.lock exists, driver versions from it will be used when this subcommand is run.
Usage
Options
--path FILE,-p FILE-
Path to a driver list file to sync. Defaults to
dbc.tomlin the current working directory. --level LEVEL,-l LEVEL-
The configuration level to install drivers to (
user, orsystem). See Config Level. --no-verify-
Allow installation of drivers without a signature file
--quiet,-qSINCE v0.2.0-
Suppress all output
info
Get information about a driver. Shows information about the latest version of the driver with the given name.
Usage
Arguments
DRIVER-
Name of the driver to get information for.
Options
--jsonSINCE v0.2.0-
Print output as JSON instead of plaintext
--quiet,-qSINCE v0.2.0-
Suppress all output
docs
Open driver documentation in a web browser. If no driver is specified, opens the general dbc documentation. If a driver name is provided, opens the documentation for that specific driver.
Usage
Arguments
DRIVER-
Optional. Name of the driver to open documentation for. If omitted, opens the general dbc documentation page.
Options
--no-open-
Print the documentation URL instead of opening it in a browser
--quiet,-qSINCE v0.2.0-
Suppress all output
auth
Usage
Subcommands
login
Arguments
REGISTRYURL-
Optional. URL of the driver registry to authenticate with. Defaults to https://dbc-cdn-private.columnar.tech/.
Options
--clientid CLIENTID-
OAuth Client ID (can also be set via
DBC_OAUTH_CLIENT_ID) --api-key API-KEY-
Authenticate using an API key instead of OAuth (use '-' to read from stdin)
logout
Arguments
REGISTRYURL-
Optional. URL of the driver registry to log out from. Defaults to https://dbc-cdn-private.columnar.tech/.
Options
--purge-
Remove all local auth credentials for dbc
Warning
ADBC drivers that require a license (i.e., private drivers) will stop working after you run this command. You can re-download your license with
dbc auth login. See Downloading Your License.