{
  "command": "update:project",
  "name": "update:project",
  "aliases": [],
  "usage": "[options]",
  "description": "Update the project-config.json file in the shell-template project",
  "options": [
    {
      "key": "config",
      "description": "Config file required to create project",
      "type": "string",
      "default": "",
      "valueIfNotFound": "",
      "alias": [
        "--config"
      ],
      "allowedValues": [],
      "allowedAliases": [],
      "validation": "fileAvailableAtLocation",
      "question": {
        "name": "CHECK_PROMPT_QUESTIONS.QUESTIONS.CONFIG_FILE"
      },
      "isSpecialArgument": true
    },
    {
      "key": "projectName",
      "description": "Set the project name in package.json and project-config.json",
      "type": "string",
      "default": "",
      "valueIfNotFound": "",
      "alias": [
        "--projectName"
      ],
      "allowedValues": [],
      "allowedAliases": [],
      "validation": "validatePackageJsonProjectName",
      "question": {
        "name": "CHECK_PROMPT_QUESTIONS.QUESTIONS.PROJECT_NAME"
      },
      "isSpecialArgument": false
    },
    {
      "key": "projectType",
      "description": "Sets the type of project. Applicable values are shell-template and zoomroomcontrol.",
      "type": "enum",
      "default": "shell-template",
      "valueIfNotFound": "shell-template",
      "valueIfInvalid": "shell-template",
      "alias": [
        "--projectType"
      ],
      "allowedValues": [
        "zoomroomcontrol",
        "shell-template"
      ],
      "allowedAliases": [
        "zoomroomcontrol",
        "shell-template"
      ],
      "validation": "validateProjectType",
      "question": {
        "name": ""
      },
      "isSpecialArgument": false
    },
    {
      "key": "forceDeviceXPanel",
      "description": "Use forceDeviceXPanel in the CH5 Project to connect with the CS as a browser based WebXPanel project. (valid input values are 'Y', 'y', 'N', 'n', 'true', 'false'",
      "type": "boolean",
      "default": "N",
      "valueIfNotFound": "N",
      "valueIfInvalid": "N",
      "alias": [
        "--forceDeviceXPanel"
      ],
      "allowedValues": [
        "true",
        "false"
      ],
      "allowedAliases": [
        "true",
        "false",
        "y",
        "n",
        "Y",
        "N"
      ],
      "validation": "",
      "question": {
        "name": ""
      },
      "isSpecialArgument": false
    },
    {
      "key": "version",
      "description": "Set the version in project-config.json",
      "type": "string",
      "default": "",
      "valueIfNotFound": "",
      "alias": [
        "--projectVersion"
      ],
      "allowedValues": [],
      "allowedAliases": [],
      "validation": "",
      "question": {
        "name": "CHECK_PROMPT_QUESTIONS.QUESTIONS.PROJECT_VERSION"
      },
      "isSpecialArgument": false
    },
    {
      "key": "faviconPath",
      "description": "Set the favicon name in project-config.json",
      "type": "string",
      "default": "",
      "valueIfNotFound": "",
      "alias": [
        "--faviconPath"
      ],
      "allowedValues": [],
      "allowedAliases": [],
      "validation": "",
      "question": {
        "name": "CHECK_PROMPT_QUESTIONS.QUESTIONS.FAVICON"
      },
      "isSpecialArgument": false
    },
    {
      "key": "menuOrientation",
      "description": "Set the menu orientation for the project",
      "type": "enum",
      "default": "horizontal",
      "valueIfNotFound": null,
      "alias": [
        "--menuOrientation"
      ],
      "allowedValues": [
        "horizontal",
        "vertical",
        "none"
      ],
      "allowedAliases": [
        "horizontal",
        "vertical",
        "none"
      ],
      "question": {
        "name": "CHECK_PROMPT_QUESTIONS.QUESTIONS.MENU_ORIENTATION"
      },
      "validation": "",      
      "isSpecialArgument": false
    },
    {
      "key": "selectedTheme",
      "description": "Set the name of the selected theme",
      "type": "enum",
      "default": "",
      "valueIfNotFound": "",
      "alias": [
        "--selectedTheme"
      ],
      "allowedValues": [],
      "allowedAliases": [],
      "question": {
        "name": "CHECK_PROMPT_QUESTIONS.QUESTIONS.SELECTED_THEME"
      },
      "validation": "",      
      "isSpecialArgument": false
    },
    {
      "key": "useWebXPanel",
      "description": "Use WebXPanel",
      "type": "boolean",
      "default": true,
      "valueIfNotFound": true,
      "alias": [
        "--useWebXPanel"
      ],
      "allowedValues": [
        "true",
        "false"
      ],
      "allowedAliases": [
        "true",
        "false",
        "y",
        "n",
        "Y",
        "N"
      ],
      "question": {
        "name": "CHECK_PROMPT_QUESTIONS.QUESTIONS.USE_WEBXPANEL"
      },
      "validation": "",      
      "isSpecialArgument": false
    },
    {
      "key": "force",
      "description": "",
      "type": "boolean",
      "default": true,
      "valueIfNotFound": false,
      "alias": [
        "-f",
        "--force"
      ],
      "allowedValues": [
        "true",
        "false"
      ],
      "allowedAliases": [
        "true",
        "false",
        "y",
        "n",
        "Y",
        "N"
      ],
      "question": {
        "name": "VALIDATIONS.FORCE"
      },
      "isSpecialArgument": true
    }
  ],
  "backupFolder": "./dist/backup/",
  "custom": {
    "templates": {
      "shell-template": {
        "customFolders": [
          "app/template/assets/fonts"
        ],
        "customFiles": [
          "app/template/libraries/webxpanel.js",
          "app/template/assets/scss/custom/_fonts.scss",
          "app/template/assets/scss/custom/_variables.scss",
          "app/template/assets/scss/custom/_template-theme.scss",
          "app.config.js",
          "package.json",
          "packagelock.json",
          "webpack.dev.js",
          "webpack.prod.js"
        ]
      },
      "zoomroomcontrol": {
        "customFolders": [
          "app/template/assets/fonts"
        ],
        "customFiles": [
          "app/template/libraries/webxpanel.js",
          "app/template/assets/scss/custom/_fonts.scss",
          "app/template/assets/scss/custom/_variables.scss",
          "app/template/assets/scss/custom/_template-theme.scss",
          "app.config.js",
          "package.json",
          "packagelock.json",
          "webpack.dev.js",
          "webpack.prod.js"
        ]
      }
    }
  },
  "additionalHelp": true,
  "automatedTests": {
    "enable": true,
    "enableComponentDeleteAfterTest": true
  },
  "allowedEnvironments": [
    "dev",
    "prod"
  ]
}