> ## 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.
```

<AccordionGroup>
  <Accordion title={<code>project-id</code>} defaultOpen={true}>
    `int` Project ID from the UI. Project must already be created.

    ```bash theme={null}
    --project-id=32
    ```

    Keyword-only argument.
  </Accordion>

  <Accordion title={<code>api-key</code>} defaultOpen={true}>
    `str` API key from the UI.

    ```bash theme={null}
    --api-key=$DAGWORKS_API_KEY
    ```

    Keyword-only argument.
  </Accordion>

  <Accordion title={<code>username</code>} defaultOpen={true}>
    `str` Login from the API -- full email.

    ```bash theme={null}
    --username=elijah@dagworks.io
    ```

    Keyword-only argument.
  </Accordion>

  <Accordion title={<code>template</code>} defaultOpen={true}>
    `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>

  <Accordion title={<code>location</code>} defaultOpen={true}>
    `str` The path to where the project should be created.

    ```bash theme={null}
    --location=/Users/your_name/projects/hello_world_dagworks
    ```
  </Accordion>
</AccordionGroup>
