> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dagworks.io/llms.txt
> Use this file to discover all available pages before exploring further.

# DAGWorks CLI

> Instructions on how to use the DAGWorks CLI.

## CLI

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

### init command

```bash theme={null}
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.
```

> [accordion] `project-id`
>
> `int` Project ID from the UI. Project must already be created.
>
> ```bash theme={null}
> --project-id=32
> ```
>
> Keyword-only argument.

> [accordion] `api-key`
>
> `str` API key from the UI.
>
> ```bash theme={null}
> --api-key=$DAGWORKS_API_KEY
> ```
>
> Keyword-only argument.

> [accordion] `username`
>
> `str` Login from the API -- full email.
>
> ```bash theme={null}
> --username=elijah@dagworks.io
> ```
>
> Keyword-only argument.

> [accordion] `template`
>
> `str` Name corresponding to the template to create. Options are \[hello\_world|machine\_learning|time\_series\_feature\_engineering|data\_processing].
>
> ```bash theme={null}
> --template=hello_world
> ```
>
> Keyword-only argument.

> [accordion] `location`
>
> `str` The path to where the project should be created.
>
> ```bash theme={null}
> --location=/Users/your_name/projects/hello_world_dagworks
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.