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

# do

> Reference for the `do` command in Genie, the AI-powered CLI companion.

The `do` command is designed to simplify your workflow by allowing you to execute commands without needing to recall the exact syntax. This command leverages AI to interpret natural language prompts and convert them into executable commands on the CLI.

## Usage

```bash theme={null}
genie do <command>
```

## Flags

`--safe`: Ensures that the command is executed in a secure environment, preventing potentially harmful actions.

## Key Features

* **AI-Powered Command Execution:** Execute commands using intuitive, natural language, reducing the need for memorizing complex syntax.

* **Beginner-Friendly:** Perfect for users who are new to CLI and may struggle with command syntax.

## Example

```bash theme={null}
genie do "list all files in the current directory"
```

This would translate to a command like ls or dir depending on your OS.
