https://github.com/kunish/pve-cli
https://github.com/kunish/pve-cli
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kunish/pve-cli
- Owner: kunish
- Created: 2022-05-11T21:45:56.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-12T10:00:42.000Z (about 3 years ago)
- Last Synced: 2025-01-14T11:15:28.656Z (6 months ago)
- Language: Rust
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pve-cli
Proxmox CLI written in Rust
## Usage
help menu
```shell
pve-cli
```export required environment variables
```shell
export PVE_ENDPOINT=https://pve.homelab.io:8006/api2/json
export PVE_USERNAME=root@pam
export PVE_PASSWORD=proxmox
```or pass these variables via command line arguments
```shell
pve-cli -e https://pve.homelab.io:8006/api2/json -u root@pam -p proxmox
```get node list
```shell
pve-cli nodes
```get qemu list within a node (pve)
```shell
pve-cli nodes pve qemus
```