# FeatherCli command reference

> All 60 FeatherCli 1.1.3 commands (49 you can run, 11 groups) with their arguments, options and defaults, read from the FeatherPanel-CLI source.

Source: https://featherpanel.com/docs/cli/feathercli-commands/

Generated from the System.CommandLine definitions in FeatherPanel-CLI (version 1.1.3, net10.0). Install and configure it first; see [FeatherCli](https://featherpanel.com/docs/cli/feathercli/). Run `feathercli <command> --help` for the same information on your machine. Options without a default are optional unless marked required; most commands prompt for a missing server UUID.

## Global options

-   `--verbose`: Enable verbose output
-   `--help`, `-h`, `-?`: help for any command (added by System.CommandLine).
-   `--version`, `-v`: print the version and exit. Program.cs checks for these before parsing, so they work with any command.

## server

Manage game servers.

### `feathercli server list`

- List all servers
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerListCommand.cs)

```
feathercli server list [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--page` | `int` | `1` | Page number for pagination |
| `--limit` | `int` | `10` | Number of servers per page |
| `--search` | `string?` | \- | Search term to filter servers by name or description |
| `--all` | `bool` | \- | Show all servers (ignores pagination) |

### `feathercli server start`

- Start a game server
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerPowerCommands.cs)

```
feathercli server start [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID (will prompt if not provided) |

### `feathercli server stop`

- Stop a game server
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerPowerCommands.cs)

```
feathercli server stop [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID (will prompt if not provided) |

### `feathercli server restart`

- Restart a game server
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerPowerCommands.cs)

```
feathercli server restart [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID (will prompt if not provided) |

### `feathercli server kill`

- Force kill a game server
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerPowerCommands.cs)

```
feathercli server kill [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID (will prompt if not provided) |

### `feathercli server logs`

- View server logs
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerLogsCommand.cs)

```
feathercli server logs [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID (will prompt if not provided) |
| `--lines` | `int` | `50` | Number of lines to display (default: 50) |
| `--upload` | `bool` | \- | Upload logs to mclo.gs and get shareable URL |

### `feathercli server install-logs`

- View server installation logs
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerLogsCommand.cs)

```
feathercli server install-logs [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID (will prompt if not provided) |
| `--upload` | `bool` | \- | Upload installation logs to mclo.gs and get shareable URL |

### `feathercli server info`

- Get detailed information about a server
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerInfoCommand.cs)

```
feathercli server info [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID (will prompt if not provided) |

### `feathercli server command`

- Send a command to a server
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerCommandCommand.cs)

```
feathercli server command [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID (will prompt if not provided) |
| `--command` | `string?` | \- | Command to send to the server (will prompt if not provided) |

### `feathercli server reinstall`

- Reinstall a server (resets to initial state)
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerReinstallCommand.cs)

```
feathercli server reinstall [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID (will prompt if not provided) |
| `--force` | `bool` | \- | Skip confirmation prompt (use with caution) |

### `feathercli server connect`

- Connect to server console via Wings WebSocket for real-time access
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerConnectCommand.cs)

```
feathercli server connect [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID (will prompt if not provided) |

### `feathercli server backups`group

- Manage server backups
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerBackupCommands.cs)

```
feathercli server backups <command>
```

### `feathercli server backups list`

- List backups
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerBackupCommands.cs)

```
feathercli server backups list [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |

### `feathercli server backups create`

- Create a backup
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerBackupCommands.cs)

```
feathercli server backups create [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--name` | `string?` | \- | Backup name |

### `feathercli server backups delete`

- Delete a backup
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerBackupCommands.cs)

```
feathercli server backups delete [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--backup`required | `string` | \- | Backup UUID |
| `--force` | `bool` | `false` | Skip confirmation |

### `feathercli server backups restore`

- Restore a backup
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerBackupCommands.cs)

```
feathercli server backups restore [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--backup`required | `string` | \- | Backup UUID |
| `--truncate` | `bool` | `false` | Wipe files before restore |
| `--force` | `bool` | `false` | Skip confirmation |

### `feathercli server backups download`

- Get backup download URL
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerBackupCommands.cs)

```
feathercli server backups download [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--backup`required | `string` | \- | Backup UUID |

### `feathercli server backups lock`

- Lock a backup
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerBackupCommands.cs)

```
feathercli server backups lock [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--backup`required | `string` | \- | Backup UUID |

### `feathercli server backups unlock`

- Unlock a backup
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerBackupCommands.cs)

```
feathercli server backups unlock [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--backup`required | `string` | \- | Backup UUID |

### `feathercli server files`group

- Manage server files
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerFileCommands.cs)

```
feathercli server files <command>
```

### `feathercli server files list`

- List files in a directory
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerFileCommands.cs)

```
feathercli server files list [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--path` | `string` | `/` | Directory path |

### `feathercli server files read`

- Read a file
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerFileCommands.cs)

```
feathercli server files read [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--path`required | `string` | \- | Remote file path |
| `--out` | `string?` | \- | Write to local file instead of stdout |

### `feathercli server files write`

- Write a local file to the server
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerFileCommands.cs)

```
feathercli server files write [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--path`required | `string` | \- | Remote file path |
| `--file`required | `string` | \- | Local file to upload |

### `feathercli server files delete`

- Delete files or directories
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerFileCommands.cs)

```
feathercli server files delete [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--path`required | `string[]` | \- | Paths to delete |
| `--root` | `string` | `/` | Root directory |
| `--force` | `bool` | `false` | Skip confirmation |

### `feathercli server files mkdir`

- Create a directory
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerFileCommands.cs)

```
feathercli server files mkdir [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--path`required | `string` | \- | Parent directory |
| `--name`required | `string` | \- | Directory name |

### `feathercli server databases`group

- Manage server databases
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerDatabaseCommands.cs)

```
feathercli server databases <command>
```

### `feathercli server databases list`

- List databases
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerDatabaseCommands.cs)

```
feathercli server databases list [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |

### `feathercli server databases hosts`

- List available database hosts
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerDatabaseCommands.cs)

```
feathercli server databases hosts [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |

### `feathercli server databases create`

- Create a database
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerDatabaseCommands.cs)

```
feathercli server databases create [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--host-id`required | `int` | \- | Database host ID |
| `--name`required | `string` | \- | Database name |
| `--remote` | `string?` | \- | Remote access pattern (default %) |

### `feathercli server databases delete`

- Delete a database
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerDatabaseCommands.cs)

```
feathercli server databases delete [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--id`required | `int` | \- | Database ID |
| `--force` | `bool` | `false` | Skip confirmation |

### `feathercli server schedules`group

- Manage server schedules
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerScheduleCommands.cs)

```
feathercli server schedules <command>
```

### `feathercli server schedules list`

- List schedules
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerScheduleCommands.cs)

```
feathercli server schedules list [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |

### `feathercli server schedules create`

- Create a schedule
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerScheduleCommands.cs)

```
feathercli server schedules create [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--name`required | `string` | \- | Schedule name |
| `--minute` | `string` | `0` | Cron minute |
| `--hour` | `string` | `*` | Cron hour |
| `--day-of-month` | `string` | `*` | Cron day of month |
| `--month` | `string` | `*` | Cron month |
| `--day-of-week` | `string` | `*` | Cron day of week |
| `--timezone` | `string?` | \- | IANA timezone |

### `feathercli server schedules delete`

- Delete a schedule
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerScheduleCommands.cs)

```
feathercli server schedules delete [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--id`required | `int` | \- | Schedule ID |
| `--force` | `bool` | `false` | Skip confirmation |

### `feathercli server schedules run`

- Run a schedule now
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerScheduleCommands.cs)

```
feathercli server schedules run [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--id`required | `int` | \- | Schedule ID |

### `feathercli server schedules toggle`

- Enable/disable a schedule
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Server/Commands/ServerScheduleCommands.cs)

```
feathercli server schedules toggle [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--uuid` | `string?` | \- | Server UUID or short UUID |
| `--id`required | `int` | \- | Schedule ID |

## account

Account, SSH keys, and notifications.

### `feathercli account me`

- Show the current user session
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Account/AccountCommandModule.cs)

```
feathercli account me
```

### `feathercli account ssh-keys`group

- Manage SSH keys
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Account/AccountCommandModule.cs)

```
feathercli account ssh-keys <command>
```

### `feathercli account ssh-keys list`

- List SSH keys
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Account/AccountCommandModule.cs)

```
feathercli account ssh-keys list
```

### `feathercli account ssh-keys add`

- Add an SSH key
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Account/AccountCommandModule.cs)

```
feathercli account ssh-keys add [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--name`required | `string` | \- | Key name |
| `--key` | `string?` | \- | Public key contents |
| `--file` | `string?` | \- | Path to public key file |

### `feathercli account ssh-keys delete`

- Delete an SSH key
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Account/AccountCommandModule.cs)

```
feathercli account ssh-keys delete [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--id`required | `int` | \- | SSH key ID |
| `--force` | `bool` | `false` | Skip confirmation |

### `feathercli account notifications`group

- Manage notifications
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Account/AccountCommandModule.cs)

```
feathercli account notifications <command>
```

### `feathercli account notifications list`

- List notifications
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Account/AccountCommandModule.cs)

```
feathercli account notifications list
```

### `feathercli account notifications dismiss`

- Dismiss a notification
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Account/AccountCommandModule.cs)

```
feathercli account notifications dismiss [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--id`required | `int` | \- | Notification ID |

## config

Manage CLI configuration.

### `feathercli config setup`

- Setup FeatherCli configuration
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Config/ConfigCommandModule.cs)

```
feathercli config setup
```

### `feathercli config show`

- Show current configuration
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Config/ConfigCommandModule.cs)

```
feathercli config show
```

### `feathercli config set`

- Set a configuration value
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Config/ConfigCommandModule.cs)

```
feathercli config set <key> <value>
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `<key>` | `string` | \- | Configuration key (api\_url, api\_key) |
| `<value>` | `string` | \- | Configuration value |

### `feathercli config test`

- Test API connection
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Config/ConfigCommandModule.cs)

```
feathercli config test
```

## migrate

Migrate from Pterodactyl to FeatherPanel.

### `feathercli migrate check`

- Check if Pterodactyl installation is ready for migration (without migrating)
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/Migrate/MigrateCommandModule.cs)

```
feathercli migrate check [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--pterodactyl-dir` | `string?` | `null` | Path to Pterodactyl installation directory (skips the prompt) |

## oauth2

OAuth2 API Consent: Documentation + Playground.

### `feathercli oauth2 docs`

- Display OAuth2 API Consent documentation
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/OAuth2/OAuth2CommandModule.cs)

```
feathercli oauth2 docs
```

### `feathercli oauth2 playground`

- Interactive OAuth2 playground
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/OAuth2/OAuth2CommandModule.cs)

```
feathercli oauth2 playground [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--name, -n` | `string?` | \- | API key/client name that will be created on approval |
| `--callback, -c` | `string?` | \- | Absolute callback URL (supports https://, http://localhost, and custom schemes) |
| `--app-name` | `string?` | \- | Display name of requesting app |
| `--app-logo` | `string?` | \- | Absolute URL of app logo |
| `--description, -d` | `string?` | \- | Consent description text shown to user |
| `--mode, -m` | `string` | `user` | user (default) for browser redirect, or server for server-to-server callback |
| `--allowed-ips` | `string?` | \- | Comma/newline separated IPv4/IPv6/CIDR restrictions |
| `--alert-cors` | `bool` | `false` | Enable foreign IP blocked-attempt notifications |

### `feathercli oauth2 consent`

- Build and open OAuth2 consent screen
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/OAuth2/OAuth2CommandModule.cs)

```
feathercli oauth2 consent [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--name, -n` | `string` | \- | API key/client name (required) |
| `--callback, -c` | `string` | \- | Absolute callback URL (required) |
| `--app-name` | `string?` | \- | Display name of requesting app |
| `--description, -d` | `string?` | \- | Consent description text |
| `--mode, -m` | `string` | `user` | user or server mode |
| `--allowed-ips` | `string?` | \- | IP restrictions |

### `feathercli oauth2 validate`

- Validate OAuth2 credentials
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/OAuth2/OAuth2CommandModule.cs)

```
feathercli oauth2 validate [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--public-key, -p` | `string` | \- | Public key to validate (required) |

### `feathercli oauth2 exchange`

- Exchange authorization code for credentials
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Commands/OAuth2/OAuth2CommandModule.cs)

```
feathercli oauth2 exchange [options]
```

| Argument or option | Type | Default | Description |
| --- | --- | --- | --- |
| `--code, -c` | `string` | \- | Authorization code to exchange (required) |

## version

Show version information.

### `feathercli version`

- Show version information
- [source](https://github.com/MythicalLTD/FeatherPanel-CLI/blob/10bcb7e50e09cfc7e1266dae9623312df63242f1/Program.cs)

```
feathercli version
```
