Description of commands available in the NoVPS console client
List of commands related to authorization
Authenticate with a Personal Access Token.
Option | Short | Default | Description |
|---|---|---|---|
--token | -t | — | Personal Access Token. If not provided, you will be prompted interactively. |
--project | -p | default | Project alias to store the token under. |
The token must start with nvps_. The CLI validates the token by making a test API call before saving it.
Examples:
Remove the saved authentication token.
Option | Short | Default | Description |
|---|---|---|---|
--project | -p | default | Project alias to remove the token for. |
Examples:
Show current authentication status.
Option | Short | Default | Description |
|---|---|---|---|
--project | -p | default | Project alias to check. |
Displays whether you are authenticated and shows a truncated token prefix for identification.
Examples:
List of commands related to applications and resources
List all applications in the project.
Option | Short | Default | Description |
|---|---|---|---|
--json | | false | Output as JSON. |
--project | -p | default | Project alias. |
Output columns: ID, Name, Resources, Created At.
Examples:
List resources belonging to an application.
Argument | Required | Description |
|---|---|---|
APP_ID | Yes | Application ID. |
Option | Short | Default | Description |
|---|---|---|---|
--json | | false | Output as JSON. |
--project | -p | default | Project alias. |
Output columns: ID, Name, Type, Public Domain, Replicas, Schedule.
Examples:
Show detailed information about a resource.
Argument | Required | Description |
|---|---|---|
RESOURCE_ID | Yes | Resource ID. |
Option | Short | Default | Description |
|---|---|---|---|
--json | | false | Output as JSON. |
--project | -p | default | Project alias. |
Displays a detailed table with resource properties: Name, Type, Public Domain, Custom Domains, Private Domain, Schedule, Replica Size (CPU, Memory, Storage), Replicas, Command, HTTP Port, Internal Ports, Docker Image, and Docker Digest.
Examples:
View resource logs.
Argument | Required | Description |
|---|---|---|
RESOURCE_ID | Yes | Resource ID. |
Option | Short | Default | Description |
|---|---|---|---|
--follow | -f | false | Follow log output in real time (like tail -f). |
--lines | -n | 100 | Number of log lines to display (1–5000). |
--since | -s | 1h | Show logs since duration. Format: 30s, 5m, 1h, 1d. |
--search | | — | Filter logs by substring. |
--project | -p | default | Project alias. |
Each log line is displayed with a timestamp in YYYY-MM-DD HH:MM:SSformat (local timezone). When --follow is enabled, new logs are polled every 3 seconds. Press Ctrl+C to stop.
Examples:
List of commands related to secrets
List secret keys for an application or a specific resource.
Argument | Required | Description |
|---|---|---|
APP_ID | Yes | Application ID. |
Option | Short | Default | Description |
|---|---|---|---|
--resource | -r | — | Resource ID. When provided, only secrets for that resource are shown. |
--with-values | | false | Include secret values in the output. |
--json | | false | Output as JSON. |
--project | -p | default | Project alias. |
When called without --resource, displays both global secrets and per-resource secrets in separate tables. When --resource is specified, only shows secrets for that resource.
Examples:
Get a single secret value by key name.
Argument | Required | Description |
|---|---|---|
APP_ID | Yes | Application ID. |
SECRET_KEY | Yes | Secret key name (e.g. DATABASE_URL). |
Option | Short | Default | Description |
|---|---|---|---|
--json | | false | Output as JSON. |
--project | -p | default | Project alias. |
Displays a table with columns: Key, Value, Resource ID (shows "global" if not resource-specific).
Examples:
List of commands related to databases
List all databases in the project.
Option | Short | Default | Description |
|---|---|---|---|
--json | | false | Output as JSON. |
--project | -p | default | Project alias. |
Output columns: ID, Name, Engine, Status, Node Type, Nodes.
Examples:
List of commands related to docker registry
List Docker registry namespaces.
Option | Short | Default | Description |
|---|---|---|---|
--json | | false | Output as JSON. |
--project | -p | default | Project alias. |
Output columns: ID, Name, Plan, Created At.
Examples:
List of commands related to S3-compatible storage
List S3 buckets.
Option | Short | Default | Description |
|---|---|---|---|
--json | | false | Output as JSON. |
--project | -p | default | Project alias. |
Output columns: ID, Name, Access Level, Created At.
Examples:
Port forwarding allows you to access remote resources (application ports, databases) on your local machine. This is particularly useful for connecting to databases without exposing them to the public internet, or for accessing internal services during development.
The connection is established through a secure WebSocket tunnel.
Forward a local port to a resource.
Argument | Required | Description |
|---|---|---|
RESOURCE_ID | Yes | Resource ID to forward to. |
REMOTE_PORT | Yes | Remote port on the resource. |
Option | Short | Default | Description |
|---|---|---|---|
--local-port | -l | Same as remote port | Local port to listen on. |
--project | -p | default | Project alias. |
Press Ctrl+C to stop forwarding.
Examples:
Forward a local port to a database.
Argument | Required | Description |
|---|---|---|
DATABASE_ID | Yes | Database ID to forward to. |
Option | Short | Default | Description |
|---|---|---|---|
--local-port | -l | Database engine default port | Local port to listen on. |
--project | -p | default | Project alias. |
The remote port is determined automatically based on the database engine. Press Ctrl+C to stop forwarding.
Examples:
These options are available across all commands:
Option | Short | Description |
|---|---|---|
--project | -p | Project alias for multi-project setup. Defaults to default. |
--json | | Output as JSON instead of a formatted table. Available on all list/get commands. |
The CLI stores its configuration in ~/.novps/config.json.
Setting | Source | Default |
|---|---|---|
Token | ~/.novps/config.json | — |
API URL | NOVPS_API_URL env var | https://api.novps.io |
WebSocket URL | NOVPS_WS_URL env var | wss://websocket.novps.io |
Configuration file structure:
Environment variables take precedence over values in the config file.