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

# Commands and flags

> Reference for Minenet CLI commands and supported flags.

## Commands

* `minenet login`: start browser-based device login.
* `minenet logout`: clear local auth state.
* `minenet whoami`: show current team profile.
* `minenet pull`: pull deployment configurations into local workspace.
* `minenet push`: sync local configs and create pushed versions.
* `minenet versions`: show pushed configuration version history.
* `minenet diff`: show diff between pushed versions.
* `minenet deploy`: queue deployment apply from pushed versions.
* `minenet status`: show auth and workspace manifest state.

## Global options

| Flag                | Description                                             |
| ------------------- | ------------------------------------------------------- |
| `--workspace`, `-w` | Workspace path (default `./<team-slug>`)                |
| `--config`, `-c`    | Configuration ID or directory-name selector             |
| `--limit`           | Limit versions returned (default `50`)                  |
| `--from`            | Source version ref for diff (for example `v3`)          |
| `--to`              | Target version ref for diff (default latest)            |
| `--message`, `-m`   | Push message for `push` (max `1000` chars)              |
| `--force`           | Override conflict protections for pull/push/deploy sync |
| `--detach`          | Queue deploy and exit without polling                   |
| `--no-open`         | Do not auto-open browser for `login`                    |
| `--api`             | Override API base URL                                   |
| `--debug`           | Show raw IDs/UUIDs in logs                              |
| `--json`            | Machine-readable JSON output                            |
| `--prune`           | Deprecated; ignored by current deployments API          |

## Examples

```bash theme={null}
minenet login
minenet pull --workspace ./my-team
minenet push --config lobby-server --message "Increase memory"
minenet versions --config lobby-server --limit 20
minenet diff --config lobby-server --from v3 --to v4
minenet deploy --config lobby-server --detach
```
