# CLI

Use `moi-cli` to configure connection information, perform product tasks, and produce JSON that scripts can process. After obtaining the CLI, configure the complete Product endpoint and a personal access token, list accessible workspaces and choose one, then start with the command reference or a task page.

Use `moi-cli` for terminal-based Product resource operations. It does not replace HTTP APIs and is not a general command-line interface for model calls.

```{toctree}
:hidden:
:maxdepth: 1

Configuration and authentication <configuration-authentication>
Common tasks <tasks/index>
JSON output and automation scripts <json-output-automation>
Command reference <command-reference>
```
