site-cli

Create plugin for createwebsite.io

Usage no npm install needed!

<script type="module">
  import siteCli from 'https://cdn.skypack.dev/site-cli';
</script>

README

CreateWebsite.io CLI

Create plugin for createwebsite.io

Create new Plugin

cw-cli new <plugin-name>

Generate New Component

cw-cli generate component <component-name>

eg. cw-cli generate component HelloWorld

Generate New Reducer

cw-cli generate reducer <reducer-name>

eg. cw-cli generate reducer products

Generate BREAD

cw-cli generate bread <bread-name>

eg. cw-cli generate bread Product

Generate Page

cw-cli generate page <page-name>

eg. cw-cli generate page Product

Generate Worker

cw-cli generate worker <worker-name>

eg. cw-cli generate worker AddToCart