# DCli tools

DCli ships with a no. of option command line tools to help you creating and writing DCli scripts.

If you are just using the DCli library then you can safely ignore the DCli tools.

If you want to use the DCli tools then you must first install them:

```bash
dart pub global activate dcli
dcli install
```

You can see a full list of `dcli` commands and arguments by running:

```
dcli 
dcli help
dcli help <command>
```

The syntax of `dcli` is:

```
dcli [flag, flag...] [command] [flag, flag...] [arguments...]
```

## flags

DCli supports a global verbose flag: `--verbose | -v`

When passed to dcli it will result in additional logging being written to the cli.

```
dcli -v create hello.dart
```


---

# 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/dcli-tools-1/dcli-tools.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.
