CLI
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:
dbnl
The dbnl CLI.
Options
--version
Show the version and exit.
info
Info about SDK and API.
login
Login to dbnl.
Options
--api-url <api_url>
API url
--app-url <app_url>
App url
--namespace-id <namespace_id>
Namespace id
Arguments
API_TOKEN
Required argument
Environment variables
DBNL_API_TOKEN
Provide a default for
API_TOKEN
DBNL_API_URL
Provide a default for
--api-url
DBNL_APP_URL
Provide a default for
--app-url
DBNL_NAMESPACE_ID
Provide a default for
--namespace-id
logout
Logout of dbnl.
sandbox
Subcommand to interact with the sandbox.
delete
Delete sandbox data.
exec
Exec a command on the sandbox.
Arguments
COMMAND
Optional argument(s)
logs
Tail the sandbox logs.
start
Start the sandbox.
Options
-u, --registry-username <registry_username>
Registry username
-p, --registry-password <registry_password>
Required Registry password
--registry
Registry
Default:
'us-docker.pkg.dev/dbnlai/images'
--version
Sandbox version
Default:
'0.23'
--base-url <base_url>
Sandbox base url
Default:
'http://localhost:8080'
status
Get sandbox status.
stop
Stop the sandbox.
Last updated
Was this helpful?