# ⚡ One-Shot Terminal

If you want to run a single command or prompt in the terminal shell without entering interactive mode, you can use the "one-shot" feature. This is useful for quick tasks or scripting.

To use one-shot mode, simply provide your prompt as a command-line argument:

```
janito "what are the key classes of this project?"
```

Janito will process your request and exit after displaying the result.

> ⚠️ **Warning:** Some models may not complete all required steps in a single-shot (one-off) run. If the model does not act as expected, try appending "; just do it" to your command-line prompt to encourage direct action.

![One-Shot Terminal Shell](../imgs/terminal-one-shot.png)

---
_generated by janito.dev_
