# DCli Run

## run

Runs the given DCli script.

This command is NOT required.

The recommended way to run a DCli script via ./\<scriptname>.dart.

The `dcli run` command is provided for symmetry and the possibility that someone, someday, may try to auto generate calls to dcli and having a consistent command structure can make this easier.

Usage: `dcli run <script path.dart>`

Example:

```
dcli run my_script.dart
```

Which is equivalent to:

```
./my_script.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-run.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.
