All apps/Storybook build CLI

Storybook build CLI

build-storybook

Builds a static Storybook for deployment.

Runs as build-storybook|macOS, Linux, Windows|storybook.js.org

Command form

ai-draft · 2 tasks · 9 fields

Build a static Storybook. HTTPS and certificate options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui build-storybook
Build StorybookExample values, fixed in this page — nothing here reaches a terminal
Basic
Output directory
directory
Config directory
directory
TasksEach one presets the form for one job
Build static Storybook
output_dirconfig_dir
Build in CI
output_dirquietci
ParametersOnly these flags are editable in the form
Output directory
path
-o--output-dir
Config directory
path
-c--config-dir
Static directories
Comma-separated list of directories to load static files from.
string
-s--static-dir
Log level
enum
--loglevelsillyverboseinfowarnerrorsilent
Quiet
Suppress verbose build output.
boolean
--quiet
CI mode
Skip interactive prompts.
boolean
--ci
Documentation mode
boolean
--docs
Watch mode
boolean
-w--watch
Write Webpack stats JSON
path
--webpack-stats-json
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed build-storybook against its version. A form that does not match your version is not offered.