@dile/cli
v0.0.3
Published
Dile Components CLI
Maintainers
Readme
@dile/cli
CLI to generate Dile component scaffolds (Web Components) from Handlebars templates.
- Binary:
dile - Templates:
templates/*.hbs - Default outputs:
- Components:
src/components - Resources/configs:
src/resources
- Components:
Note: this CLI writes
.jsfiles and creates folders if they do not exist.
Installation
Global use
npm i -g @dile/cli
# or
pnpm add -g @dile/cliUse without installing (npx)
npx --package @dile/cli dile --helpLocal development (repo)
npm install
npm link
# now you can use:
dile --helpQuick start
Show help:
dile --helpGenerate a component:
dile g-component ui/my-widgetDocumentation
All detailed docs live in docs/:
License
MIT
