{
  "id": "next",
  "name": "Next.js",
  "description": "React framework CLI to develop, build and start applications.",
  "homepage": "https://nextjs.org",
  "executables": [
    "next"
  ],
  "commands": {
    "format": 1,
    "label": "Next.js commands",
    "description": "Start the dev server, build for production, or start the production server.",
    "quality": "ai-draft",
    "base": "fig:next",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/next.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "dev"
        ],
        "label": "Start dev server",
        "description": "Run the application in development mode.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/next.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "dir",
            "label": "Project directory",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "directory",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "port",
            "label": "Port",
            "type": "integer",
            "option": [
              "--port",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "hostname",
            "label": "Hostname",
            "type": "string",
            "option": [
              "--hostname",
              "-H"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "dev",
            "label": "Dev server",
            "fields": [
              "dir",
              "port",
              "hostname"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "dir",
              "port",
              "hostname"
            ]
          }
        ]
      },
      {
        "path": [
          "build"
        ],
        "label": "Production build",
        "description": "Create an optimized production build.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/next.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "dir",
            "label": "Project directory",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "directory",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "profile",
            "label": "Enable production profiling",
            "type": "boolean",
            "option": [
              "--profile"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "debug",
            "label": "Verbose build output",
            "type": "boolean",
            "option": [
              "--debug"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "build",
            "label": "Build",
            "fields": [
              "dir",
              "profile",
              "debug"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "dir",
              "profile",
              "debug"
            ]
          }
        ]
      },
      {
        "path": [
          "start"
        ],
        "label": "Start production server",
        "description": "Run the built application in production mode.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/next.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "dir",
            "label": "Project directory",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "directory",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "port",
            "label": "Port",
            "type": "integer",
            "option": [
              "--port",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "hostname",
            "label": "Hostname",
            "type": "string",
            "option": [
              "--hostname",
              "-H"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "start",
            "label": "Production server",
            "fields": [
              "dir",
              "port",
              "hostname"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "dir",
              "port",
              "hostname"
            ]
          }
        ]
      }
    ]
  }
}
