Skip to main content

CLI

At the current time, the CLI is purely for generating projects/getting started. You can run it as follows:

init command

dagworks init --help
Usage: dagworks init [OPTIONS]

Options:
  --api-key TEXT                  [required]
  --username TEXT                 [required]
  --project-id INTEGER            [required]
  --template [hello_world|machine_learning|time_series_feature_engineering|data_processing]
  --location PATH
  --help                          Show this message and exit.
int Project ID from the UI. Project must already be created.
--project-id=32
Keyword-only argument.
str API key from the UI.
--api-key=$DAGWORKS_API_KEY
Keyword-only argument.
str Login from the API — full email.
--username=elijah@dagworks.io
Keyword-only argument.
str Name corresponding to the template to create. Options are [hello_world|machine_learning|time_series_feature_engineering|data_processing].
--template=hello_world
Keyword-only argument.
str The path to where the project should be created.
--location=/Users/your_name/projects/hello_world_dagworks
I