pvc/docs/manuals/cli.md
Joshua M. Boniface ce985234c3 Use consistent naming of components
Rename "pvcd" to "pvcnoded", and "pvc-api" to "pvcapid" so names for the
daemons are fully consistent. Update the names of the configuration
files as well to match this new formatting.

References #79
2020-02-08 19:34:07 -05:00

784 B

PVC CLI client manual

The PVC CLI client is built with Click, a Python framework for creating self-documenting CLI applications. It interfaces with the PVC API.

Use the -h option at any level of the pvc CLI command to receive help about the available commands and options.

Before using the CLI on a non-PVC node system, at least one cluster must be added using the pvc cluster subcommands. Running the CLI on hosts which also run the PVC API (via its configuration at /etc/pvc/pvcapid.yaml) uses the special local cluster, reading information from the API configuration, by default.

Configuration

The CLI client requires no configuration file. The only optional external environment variable is PVC_CLUSTER, which can be used to specify a cluster to connect to.