{
  "$schema": "http://json-schema.org/schema",
  "$id": "xplat-ionic-angular-feature",
  "title": "Create an Ionic Angular feature in xplat.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Feature name",
      "$default": {
        "$source": "argv",
        "index": 0
      }
    },
    "directory": {
      "type": "string",
      "description": "Create this feature within a directory inside the features area."
    },
    "projects": {
      "type": "string",
      "description": "Project names"
    },
    "onlyProject": {
      "type": "boolean",
      "description": "Generate for specified projects only and ignore shared code.",
      "default": false
    },
    "onlyModule": {
      "type": "boolean",
      "description": "Generate just the module and ignore the default component.",
      "default": false
    },
    "createBase": {
      "type": "boolean",
      "description": "Create base component for maximum code sharing.",
      "default": false
    },
    "routing": {
      "type": "boolean",
      "description": "Whether to generate routing support or not (Only when used with --onlyProject).",
      "default": false
    },
    "adjustSandbox": {
      "type": "boolean",
      "description": "Automatically add a button to link to the feature route. Supported on NativeScript only right now. Requires flags: --onlyProject --routing",
      "default": false
    },
    "skipFormat": {
      "description": "Skip formatting files",
      "type": "boolean",
      "default": false
    }
  },
  "required": []
}
