Skip to content

Command Line Interface (CLI)

data7

Usage:

data7 [OPTIONS] COMMAND [ARGS]...

Options:

  --install-completion  Install completion for the current shell.
  --show-completion     Show completion for the current shell, to copy it or
                        customize the installation.
  --help                Show this message and exit.

check

Check data7 project configuration.

Checks:

  1. all settings files SHOULD exist

  2. settings files format SHOULD be valid YAML

  3. configured database connection SHOUD be valid (driver installed and valid url)

  4. datasets SQL queries SHOULD be valid SQL

Usage:

data7 check [OPTIONS]

Options:

  --help  Show this message and exit.

init

Initialize a data7 project.

Usage:

data7 init [OPTIONS]

Options:

  --help  Show this message and exit.

run

Run data7 web server.

Usage:

data7 run [OPTIONS]

Options:

  --host TEXT
  --port INTEGER
  --reload / --no-reload          \[default: no-reload]
  --workers INTEGER
  --root-path TEXT
  --proxy-headers / --no-proxy-headers
                                  \[default: no-proxy-headers]
  --log-level [debug|info|warning|error|critical]
                                  \[default: info]
  --help                          Show this message and exit.

stream

Stream a dataset given its name and a selected extension.

Usage:

data7 stream [OPTIONS] EXTENSION:{csv|parquet} NAME

Options:

  EXTENSION:{csv|parquet}  \[required]
  NAME                     \[required]
  --help                   Show this message and exit.