@ShellMethod(key = "convert-props", value = "Convert CAS properties to YAML file at the same location.")
    public void convertProperties(
        @ShellOption(value = {"properties", "--properties"},
            help = "Path to a properties file that contains CAS settings",
            defaultValue = "/etc/cas/config/cas.properties") final String propertiesFile) throws Exception {
        val output = FilenameUtils.removeExtension(propertiesFile) + ".yml";
        convertAndSaveToYaml(loadProperties(propertiesFile), output);
        LOGGER.info("Converted configuration properties to [{}]", output);
    }
Convert properties to YAML.

@param propertiesFile the properties file
@throws Exception the exception
support/cas-server-support-shell-core/src/main/java/org/apereo/cas/shell/commands/properties/ConvertPropertiesToYAMLCommand.java