{
  "id": "start-storybook",
  "name": "start-storybook",
  "description": "Storybook development server CLI.",
  "executables": [
    "start-storybook"
  ],
  "commands": {
    "format": 1,
    "label": "Start Storybook",
    "description": "Run the Storybook dev server. HTTPS certificate options and webpack debugging are not included.",
    "quality": "ai-draft",
    "base": "fig:start-storybook",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/start-storybook.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "port",
        "label": "Port",
        "type": "integer",
        "option": [
          "--port",
          "-p"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "host",
        "label": "Host",
        "type": "string",
        "option": [
          "--host",
          "-h"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "config_dir",
        "label": "Config directory",
        "type": "path",
        "option": [
          "--config-dir",
          "-c"
        ],
        "path": {
          "kind": "directory",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "static_dir",
        "label": "Static directory",
        "type": "path",
        "option": [
          "--static-dir",
          "-s"
        ],
        "path": {
          "kind": "directory",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "ci",
        "label": "CI mode",
        "description": "Skips prompts and does not open the browser.",
        "type": "boolean",
        "option": [
          "--ci"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "quiet",
        "label": "Quiet build",
        "type": "boolean",
        "option": [
          "--quiet"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "smoke",
        "label": "Exit after start",
        "type": "boolean",
        "option": [
          "--smoke-test"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "docs",
        "label": "Documentation mode",
        "type": "boolean",
        "option": [
          "--docs"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_manager_cache",
        "label": "Disable manager cache",
        "type": "boolean",
        "option": [
          "--no-manager-cache"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "dev",
        "label": "Start dev server",
        "fields": [
          "port",
          "host",
          "config_dir",
          "ci"
        ],
        "required": []
      },
      {
        "id": "ci",
        "label": "Smoke test in CI",
        "fields": [
          "config_dir",
          "ci",
          "smoke",
          "quiet"
        ],
        "required": [],
        "set": {
          "ci": [
            true
          ],
          "smoke": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "port",
          "host",
          "config_dir",
          "static_dir",
          "ci",
          "quiet",
          "smoke",
          "docs",
          "no_manager_cache"
        ]
      }
    ]
  }
}
