pacicli is a command line interface tool for Parallels Cloud Infrastructure
(PACI) API. It makes it easy to manage Containers and Virtual machines on PACI.
Features
Works on most of major platforms like Linux, Windows, MacOS X etc.
Download your platform binary from Release page
and put it somewhere you like.
If you'd like to build it by yourself, please use go get:
$ go get -d github.com/tsukaeru/pacicli
Usage
Retrieve your PACI API key from your Hosting Provider's web interface.
Create your working directory, go into it and put Pacifile configuration file.
Pacifile should have following settings.
BaseURL = "https://example.com/paci/v1.0" # API URL
Username = "username" # Your account name
Password = "password" # Your API key
You can write Pacifile both in JSON and TOML. pacicli detects its format
automatically. If the file begins with { character, it's parsed as JSON.
If not, parsed as TOML.
Run
pacicli list
If you have some machiens, those would be displayed. If not, please try
pacicli oslist
It would show the OS list provided by the Hoster. For more command detail,
please see