pgEdgeCLI is a command-line tool to manage pgEdge's PostgreSQL clusters, providing functionalities for cluster management, replication setup, and more.
- Cluster Management: Manage PostgreSQL clusters with ease.
- Spock Replication: Configure and manage logical replication using Spock.
- MQTT Integration: Efficient communication using MQTT for cluster operations.
- Versioned Binary: Includes version information in the CLI binary.
- Cross-Platform: Supports Linux, macOS, and Windows.
- Go: Version 1.20 or later.
- Dependencies:
cobra: For CLI commands.paho.mqtt.golang: For MQTT integration.
- Clone the Repository:
git clone https://github.com/your-repo/pgedgecli.git cd pgedgecli make build
$ ./pgedgecli pgEdgeCLI is a command-line tool to manage pgEdge's PostgreSQL cluster
Usage:
pgedgecli [command]
Available Commands:
cluster Manage PostgreSQL clusters
help Help about any command
spock Manage Spock replication
version Print the version number of pgedgecli
Flags:
-h, --help help for pgedgecli
Use "pgedgecli [command] --help" for more information about a command.