The Apollo CLI provides a flexible way to interact with Apollo. It can be used to manually publish new Product Releases and as an alternative to the UI for retrieving Apollo metadata (such as which Environments and Products are currently managed by Apollo).
The CLI is supported on Linux, MacOS (Darwin), and Windows.
To install the Apollo CLI, follow the instructions provided in the Apollo CLI getting started guide.
Flag | Use |
---|---|
-h, --help | Show apollo-cli help menu |
Command | Use |
---|---|
add-unmanaged-service | Registers an unmanaged service in Apollo |
configure | One-time setup command to enter information needed by the CLI to interact with Apollo |
create-module | Creates a new Module |
get-central-namespace | Gets the Central Namespace |
get-installations | Gets the Installations for the specified environment(s) |
get-product-releases | Gets all Releases for the specified Products as a map from Apache Maven coordinate to Product Release |
get-product-versions | Gets all versions for the specified Product |
list-environments | Lists all Environments managed by Apollo |
list-namespaces | Lists all Namespaces |
list-products | Lists all existing Product IDs in Apollo |
module | Manage Modules |
publish | Publishes a new Product Release to Apollo |
The following commands are Experimental.
You can enable Experimental commands by running the apollo-cli configure command
. When prompted, enter enabled
for V2 experimental commands
.
Command | Use |
---|---|
entity | Manage Helm chart Entities |
environment | Manage Apollo Environments |
product-release | Manage Product Releases |