vip config software get
Retrieve the current versions of environment software.
Usage
vip config software get <wordpress|php|nodejs|muplugins> [options]
Options
Option | Description |
---|---|
-a , --app |
Target an application. Accepts a string value for the application name or an integer for the application ID. |
-d , --debug |
Generate verbose output during command execution to help identify or fix errors or bugs. |
-e , --env |
Target an environment. Accepts a string value for the environment type. |
-f , --format |
Render output in a particular format. Accepts “table” (default), “csv”, and “json”. |
-h , --help |
Retrieve a description, examples, and available options for a (sub)command. |
-i , --include |
Retrieve additional data of a specific type. Supported values: available_versions |
-v , --version |
Retrieve the version number of VIP-CLI currently installed on the local machine. |
Examples
- Retrieve a list of the current versions of all environment software in the default table format.
$ vip @example-app.develop config software get
- Retrieve a list of the current versions of all environment software in CSV format.
$ vip @example-app.develop config software get --format=csv
- Retrieve the current version of WordPress for a WordPress environment and a list of available versions in the default table format.
$ vip @example-app.develop config software get wordpress --include=available_versions
- Retrieve the current version of PHP for a WordPress environment and a list of available versions in the default table format.
$ vip @example-app.develop config software get php --include=available_versions
- Retrieve the current version of Node.js for a Node.js environment and a list of available versions in JSON format.
$ vip @example-node-app.develop config software get nodejs --include=available_versions --format=json
Last updated: November 18, 2024