Validate the configuration file

Updated at:

After editing the config.yaml file, run the pdbcli validate command to check for required parameters.

 pdbcli validate

If the following information is returned, the config.yaml file is valid and contains no issues, such as missing content or conflicts.

Using config file: ./config.yaml
Config validation succeed.

You can run pdbcli help validation or pdbcli validate --help for usage instructions:

Using config file: ./config.yaml
Validate config yaml contents.  # Validates the content of the config.yaml file.
    
    For example:

    pdbcli validate

Usage:
 pdbcli validate [flags]

Flags:
 -h, --help  help for validate # Displays help for the validate command.

Global Flags:
   --config string  Specify Config file. (default "./config.yaml")  # Specifies the configuration file. The default is ./config.yaml.
   --debug      Enable additional output for debugging. # Displays additional output for debugging.