{
  "id": "ionic",
  "name": "Ionic CLI",
  "description": "The Ionic command-line interface for developing Ionic apps.",
  "homepage": "https://ionicframework.com",
  "executables": [
    "ionic"
  ],
  "commands": {
    "format": 1,
    "label": "Ionic CLI",
    "description": "Create, serve and build Ionic projects. Capacitor, Cordova, Appflow and account commands are left out.",
    "quality": "ai-draft",
    "base": "fig:ionic",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "src",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/ionic.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "start"
        ],
        "label": "Create a new project",
        "description": "Scaffold a new Ionic project from a starter template.",
        "source": [
          {
            "id": "src",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/ionic.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Project name",
            "description": "The name of your new project, for example myApp.",
            "type": "string",
            "position": 0,
            "sources": [
              "src"
            ]
          },
          {
            "id": "template",
            "label": "Starter template",
            "description": "Starter template such as blank or tabs.",
            "type": "string",
            "position": 1,
            "suggestions": [
              {
                "value": "blank",
                "label": "blank"
              },
              {
                "value": "tabs",
                "label": "tabs"
              },
              {
                "value": "sidemenu",
                "label": "sidemenu"
              }
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "type",
            "label": "Project type",
            "description": "Framework to start with.",
            "type": "string",
            "option": [
              "--type"
            ],
            "suggestions": [
              {
                "value": "angular",
                "label": "angular"
              },
              {
                "value": "react",
                "label": "react"
              },
              {
                "value": "vue",
                "label": "vue"
              }
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "capacitor",
            "label": "Include Capacitor",
            "description": "Include Capacitor integration.",
            "type": "boolean",
            "option": [
              "--capacitor"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "cordova",
            "label": "Include Cordova",
            "description": "Include Cordova integration.",
            "type": "boolean",
            "option": [
              "--cordova"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "no_deps",
            "label": "Skip dependency install",
            "description": "Do not install npm/yarn dependencies.",
            "type": "boolean",
            "option": [
              "--no-deps"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "no_git",
            "label": "Skip git init",
            "description": "Do not initialize a git repo.",
            "type": "boolean",
            "option": [
              "--no-git"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "package_id",
            "label": "Package ID",
            "description": "Bundle ID / application ID in reverse-DNS notation.",
            "type": "string",
            "option": [
              "--package-id"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "list",
            "label": "List templates",
            "description": "List available starter templates.",
            "type": "boolean",
            "option": [
              "--list",
              "-l"
            ],
            "sources": [
              "src"
            ]
          }
        ],
        "task": [
          {
            "id": "start",
            "label": "Start a project",
            "fields": [
              "name",
              "template",
              "type",
              "capacitor"
            ],
            "required": [
              "name",
              "template"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "template",
              "type",
              "capacitor"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "cordova",
              "no_deps",
              "no_git",
              "package_id",
              "list"
            ]
          }
        ]
      },
      {
        "path": [
          "serve"
        ],
        "label": "Run the dev server",
        "description": "Start a local dev server for app development and testing.",
        "source": [
          {
            "id": "src",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/ionic.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "port",
            "label": "Port",
            "description": "Port for the dev server.",
            "type": "integer",
            "option": [
              "--port",
              "-p"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "host",
            "label": "Host",
            "description": "Host for the dev server.",
            "type": "string",
            "option": [
              "--host"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "external",
            "label": "Listen on all interfaces",
            "description": "Host the dev server on all network interfaces.",
            "type": "boolean",
            "option": [
              "--external"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "lab",
            "label": "Ionic Lab",
            "description": "Test on multiple platform types in the browser.",
            "type": "boolean",
            "option": [
              "--lab",
              "-l"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "no_open",
            "label": "Do not open browser",
            "description": "Do not open a browser window.",
            "type": "boolean",
            "option": [
              "--no-open"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "no_livereload",
            "label": "No live reload",
            "description": "Just serve files without live reload.",
            "type": "boolean",
            "option": [
              "--no-livereload"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "ssl",
            "label": "HTTPS",
            "description": "Use HTTPS for the dev server.",
            "type": "boolean",
            "option": [
              "--ssl"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "prod",
            "label": "Production configuration",
            "description": "Use the production configuration.",
            "type": "boolean",
            "option": [
              "--prod"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "consolelogs",
            "label": "Print console logs",
            "description": "Print app console logs to the terminal.",
            "type": "boolean",
            "option": [
              "--consolelogs"
            ],
            "sources": [
              "src"
            ]
          }
        ],
        "task": [
          {
            "id": "serve",
            "label": "Serve the app",
            "fields": [
              "port",
              "no_open"
            ],
            "required": []
          },
          {
            "id": "lab",
            "label": "Serve with Ionic Lab",
            "fields": [
              "lab",
              "port"
            ],
            "required": [
              "lab"
            ],
            "set": {
              "lab": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "port",
              "host",
              "external",
              "lab",
              "no_open"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "no_livereload",
              "ssl",
              "prod",
              "consolelogs"
            ]
          }
        ]
      },
      {
        "path": [
          "build"
        ],
        "label": "Build web assets",
        "description": "Build web assets and prepare the app for platform targets.",
        "source": [
          {
            "id": "src",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/ionic.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "prod",
            "label": "Production configuration",
            "description": "Use the production configuration.",
            "type": "boolean",
            "option": [
              "--prod"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "watch",
            "label": "Watch",
            "description": "Rebuild when files change.",
            "type": "boolean",
            "option": [
              "--watch"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "source_map",
            "label": "Source maps",
            "description": "Output source maps.",
            "type": "boolean",
            "option": [
              "--source-map"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "engine",
            "label": "Engine",
            "description": "Target engine.",
            "type": "string",
            "option": [
              "--engine"
            ],
            "suggestions": [
              {
                "value": "browser",
                "label": "browser"
              },
              {
                "value": "cordova",
                "label": "cordova"
              }
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "platform",
            "label": "Platform",
            "description": "Target platform on the chosen engine.",
            "type": "string",
            "option": [
              "--platform"
            ],
            "suggestions": [
              {
                "value": "ios",
                "label": "ios"
              },
              {
                "value": "android",
                "label": "android"
              }
            ],
            "sources": [
              "src"
            ]
          }
        ],
        "task": [
          {
            "id": "build_prod",
            "label": "Production build",
            "fields": [
              "prod"
            ],
            "required": [
              "prod"
            ],
            "set": {
              "prod": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "prod",
              "watch",
              "source_map",
              "engine",
              "platform"
            ]
          }
        ]
      }
    ]
  }
}
