# Templates

Templates are a work in progress.

DCli ships a number of templates which are intended to be used with the dcli create command.

Currently the dcli create uses one fixed template.

Going forward the intent is to add a --template switch to the create command so the user can choose which template to use.

## Creating templates

Each template must live in its own dart project as a subproject in github.

A template should consist of a complete dart project including an analysis\_options.yaml file that conforms to the DCli lint standards (copy dcli's existing file).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dcli.onepub.dev/contributing/templates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
