{
  "$schema": "http://json-schema.org/schema",
  "$id": "AddConfigurationToProject",
  "title": "Add CodePushup configuration to a project",
  "description": "Add CodePushup configuration to a project",
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "description": "The name of the project.",
      "x-prompt": "Which project should configure Code Pushup?",
      "x-dropdown": "projects",
      "$default": {
        "$source": "argv",
        "index": 0
      }
    },
    "bin": {
      "type": "string",
      "description": "Path to Code PushUp CLI"
    },
    "skipConfig": {
      "type": "boolean",
      "description": "Skip adding the code-pushup.config.ts to the project root.",
      "$default": "false"
    },
    "skipFormat": {
      "type": "boolean",
      "description": "Skip formatting of changed files",
      "$default": "false"
    }
  },
  "required": ["project"]
}
