All apps/Stencil

Stencil

stencil

CLI to build Stencil projects and generate components.

Runs as stencil|macOS, Linux, Windows|stenciljs.com

Command form

ai-draft · 3 tasks · 13 fields

Build projects and scaffold components.

Opens the form; the finished command lands at your prompt, unrun
otty gui stencil

stencil build

Build components

Build for development or production.

Build componentsExample values, fixed in this page — nothing here reaches a terminal
Basic
Production build
--prod
Generate readme docs
--docs-readme
Config file
file
TasksEach one presets the form for one job
Production build
proddocsconfig
Dev server
devwatchserveportno_open
ParametersOnly these flags are editable in the form
Production build
boolean
--prod
Development build
boolean
--dev
Watch for changes
boolean
--watch
Start dev server
boolean
--serve
Generate readme docs
boolean
--docs-readme
CI settings
boolean
--ci
ES5 build
boolean
--es5
Do not open browser
boolean
--no-open
Dev server port
integer
--port
Config file
path
--config-c
Disable cache
boolean
--no-cache
Verbose
boolean
--verbose

stencil generate

Generate component

Bootstrap a new component.

Generate componentExample values, fixed in this page — nothing here reaches a terminal
Basic
Component name
string
TasksEach one presets the form for one job
Generate
name
ParametersOnly these flags are editable in the form
Component name
Must contain a dash, e.g. my-component.
string · positional 0
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

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