@iwz/cli

CLI tool for iwz

Usage no npm install needed!

<script type="module">
  import iwzCli from 'https://cdn.skypack.dev/@iwz/cli';
</script>

README

@iwz/cli

CLI tool for iwz

Install

npm i -g @iwz/cli

iwz-app

# initApp:  static/<corpName>/projects/a/b/c/1.0
iwz-app initApp a/b/c/1.0
iwz-app initApp a/b/c/1.0 -t vue

# initApp:  tplWww/<corpName>/app/a/b/c/1.0
iwz-app initApp a/b/c/1.0 -t smarty

# publish:
iwz-app publish
iwz-app pub

# addPage: create new page
iwz-app addPage index  # src/pages/index.vue
iwz-app ap index
iwz-app ap a/b/c  # src/pages/a/b/c.vue

# addStore: create new module of store
iwz-app addStore test  # src/store/modules/test
iwz-app as test
iwz-app as a/b/c  # src/store/modules/a/b/c

iwz-chk

# check domain
iwz-chk domain ./
iwz-chk domain src