For the complete documentation index, see llms.txt. This page is also available as Markdown.

CLI

Installing and using the DBNL Command Line Interface (CLI)

Distributional is now Talaria Scientific. The DBNL product described in these docs has been sunset; this documentation is preserved for reference. Read the announcement.

The dbnl CLI is installed as part of the SDK and allows for interacting with the dbnl platform from the command line.

To install the SDK, run:

pip install dbnl

dbnl

The dbnl CLI.

dbnl [OPTIONS] COMMAND [ARGS]...
  • Options

    • --version - Show the version and exit.

config

Manage dbnl SDK configuration.

dbnl config [OPTIONS] COMMAND [ARGS]...

clear

Delete the configuration file.

dbnl config clear [OPTIONS]

set

Set configuration values (KEY=VALUE …).

Accepted keys: api_token API token for authentication api_url Base URL of the dbnl API app_url Base URL of the dbnl app

  • Arguments

    • PAIRS - Required argument(s)

show

Display the current configuration.

unset

Remove configuration keys (KEY …).

Accepted keys: api_token API token for authentication api_url Base URL of the dbnl API app_url Base URL of the dbnl app

  • Arguments

    • KEYS - Required argument(s)

validate

Validate configuration against the API.

info

Info about SDK and API.

sandbox

Subcommand to interact with the sandbox.

delete

Delete sandbox data.

  • Options

    • -f, --force - Force delete

exec

Exec a command on the sandbox.

  • Arguments

    • COMMAND - Optional argument(s)

logs

Tail the logs for the sandbox or a specific service.

  • Options

    • --service <service> - Tail service logs.

  • Options: sandbox | api | scheduler | ui | worker

start

Start the sandbox.

  • Options

    • -u, --registry-username <registry_username> - Registry username

    • -p, --registry-password <registry_password> - Registry password

    • --registry <registry> - Registry

    • --version <version> - Sandbox version

      • Default: '0.32'

    • --base-url <base_url> - Sandbox base url

      • Default: 'http://localhost:8080'

    • -q, --quiet - Suppress pull progress output

status

Get sandbox status.

stop

Stop the sandbox.