Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

PasarGuard CLI

A modern, type-safe command-line interface for managing PasarGuard, built with Typer. PasarGuard supports both Xray-core and WireGuard.

Features

  • 🎯 Type-safe CLI with rich output
  • 🔒 One-time temp key generation for owner setup
  • ⌨️ Simple project-root and installed-service usage

Installation

The CLI is included with PasarGuard and can be used directly:

PasarGuard cli --help

# Or from the project root
uv run PasarGuard-cli.py --help

Usage

General Commands

# Show version
pasarguard cli version

# Generate a one-time temp key for owner setup
pasarguard cli generate-temp-key

# Show help
pasarguard cli --help

Owner Setup

Admin management is handled from the dashboard. For owner setup, reset, delete, or upgrade operations, generate a one-time temp key and use it on the dashboard login page.

pasarguard cli generate-temp-key