CLI
Last updated
Last updated
Note: pi is based on .
pi
is a command line interface for running commands against Pi cloud. This overview covers pi
syntax, describes the command operations, and provides common examples.
We currently provides official CLI builds for Linux and Mac.
Linux x86
Mac OS X 10.7 (lion) or later
In order for pi to find and access a Pi regiion, it needs a configuration file, which, by default, is located at ~/.pi/config
.
create
Create a resource.
get
Display one or many resources
delete
Delete resources by resources and names
run
Run a pod with particular image.
name
Name a resource
describe
Show details of a specific resource or group of resources
logs
Print the logs for a container in a pod
exec
Execute a command in a container
config
Modify pi config files
help
Help about any command
info
Print region and user info
Usage: pi [flags] [options]
Use "pi --help" for more information about a given command. Use "pi options" for a list of global command-line options (applies to all commands).
Find more information at .