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 } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/start-storybook.ts" license = "MIT" [[commands.field]] id = "port" label = "Port" type = "integer" option = ["--port", "-p"] sources = ["fig"] [[commands.field]] id = "host" label = "Host" type = "string" option = ["--host", "-h"] sources = ["fig"] [[commands.field]] id = "config_dir" label = "Config directory" type = "path" option = ["--config-dir", "-c"] path = { kind = "directory", role = "input" } sources = ["fig"] [[commands.field]] id = "static_dir" label = "Static directory" type = "path" option = ["--static-dir", "-s"] path = { kind = "directory", role = "input" } sources = ["fig"] [[commands.field]] id = "ci" label = "CI mode" description = "Skips prompts and does not open the browser." type = "boolean" option = ["--ci"] sources = ["fig"] [[commands.field]] id = "quiet" label = "Quiet build" type = "boolean" option = ["--quiet"] sources = ["fig"] [[commands.field]] id = "smoke" label = "Exit after start" type = "boolean" option = ["--smoke-test"] sources = ["fig"] [[commands.field]] id = "docs" label = "Documentation mode" type = "boolean" option = ["--docs"] sources = ["fig"] [[commands.field]] id = "no_manager_cache" label = "Disable manager cache" type = "boolean" option = ["--no-manager-cache"] sources = ["fig"] [[commands.task]] id = "dev" label = "Start dev server" fields = ["port", "host", "config_dir", "ci"] required = [] [[commands.task]] id = "ci" label = "Smoke test in CI" fields = ["config_dir", "ci", "smoke", "quiet"] required = [] set = { ci = [true], smoke = [true] } [[commands.group]] id = "basic" label = "Basic" fields = ["port", "host", "config_dir", "static_dir", "ci", "quiet", "smoke", "docs", "no_manager_cache"]