Skip to content

Interacting with an app.yaml manifest

The CLI offers commands to help you work with the app.yaml manifest file.

Initialize a manifest

The app.yaml manifest holds the instructions for deploying and running an application in Nextmv. It has many fields which can be hard to remember by heart. You can use the nextmv manifest init command to go through an interactive session that will help you initialize a manifest with some pre-configured defaults.

nextmv manifest init

You can also use the options provided by the command if you don't want to be prompted. Go to the command's reference for more information or get the help to check the available options:

nextmv manifest init --help

Validate a manifest

The CLI provides the nextmv manifest validate command to validate a manifest and make sure that it is well-formed and has all the required fields. You can use it to validate a manifest before deploying it to Nextmv Cloud. Use the command in the same location as the app.yaml file or alternatively use the --dirpath option to specify a different path to the manifest.

nextmv manifest validate