{
  "id": "create-nx-workspace",
  "name": "create-nx-workspace",
  "description": "Create a new Nx workspace.",
  "executables": [
    "create-nx-workspace"
  ],
  "commands": {
    "format": 1,
    "label": "Create Nx workspace",
    "description": "Scaffold a new Nx workspace with a preset and package manager. Cloud and interactive toggles are left out.",
    "quality": "ai-draft",
    "base": "fig:create-nx-workspace",
    "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/create-nx-workspace.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "workspace",
        "label": "Workspace name",
        "type": "string",
        "position": 0,
        "min": 1,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "preset",
        "label": "Preset",
        "type": "string",
        "option": [
          "--preset"
        ],
        "suggestions": [
          {
            "value": "empty",
            "label": "empty"
          },
          {
            "value": "npm",
            "label": "npm"
          },
          {
            "value": "web-components",
            "label": "web-components"
          },
          {
            "value": "angular",
            "label": "angular"
          },
          {
            "value": "angular-nest",
            "label": "angular-nest"
          },
          {
            "value": "react",
            "label": "react"
          },
          {
            "value": "react-express",
            "label": "react-express"
          },
          {
            "value": "react-native",
            "label": "react-native"
          },
          {
            "value": "next",
            "label": "next"
          },
          {
            "value": "gatsby",
            "label": "gatsby"
          },
          {
            "value": "nest",
            "label": "nest"
          },
          {
            "value": "express",
            "label": "express"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "app_name",
        "label": "Application name",
        "type": "string",
        "option": [
          "--appName"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "style",
        "label": "Style",
        "type": "string",
        "option": [
          "--style"
        ],
        "suggestions": [
          {
            "value": "css",
            "label": "css"
          },
          {
            "value": "scss",
            "label": "scss"
          },
          {
            "value": "less",
            "label": "less"
          },
          {
            "value": "styl",
            "label": "styl"
          },
          {
            "value": "styled-components",
            "label": "styled-components"
          },
          {
            "value": "@emotion/styled",
            "label": "@emotion/styled"
          },
          {
            "value": "styled-jsx",
            "label": "styled-jsx"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "package_manager",
        "label": "Package manager",
        "type": "enum",
        "option": [
          "--packageManager",
          "--pm"
        ],
        "choices": [
          {
            "value": "npm",
            "label": "npm"
          },
          {
            "value": "yarn",
            "label": "yarn"
          },
          {
            "value": "pnpm",
            "label": "pnpm"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "cli",
        "label": "CLI",
        "type": "enum",
        "option": [
          "--cli"
        ],
        "choices": [
          {
            "value": "nx",
            "label": "nx"
          },
          {
            "value": "angular",
            "label": "angular"
          }
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "react",
        "label": "React workspace",
        "set": {
          "preset": [
            "react"
          ]
        },
        "fields": [
          "workspace",
          "preset",
          "app_name",
          "style",
          "package_manager"
        ],
        "required": [
          "workspace"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "workspace",
          "preset",
          "app_name",
          "style",
          "package_manager",
          "cli"
        ]
      }
    ]
  }
}
