yaxshi
v1.0.9
Published
custom cli
Readme
yaxshi
Custom CLI
Table of contents
About
Scaffolds Application interface base on templates. Generates Components, Store, Models and Basic Configuration.
Installation
npm install -g yaxshiOptions
-V, --version output the version number
-h, --help display help for commandCommands
component|cmp [options] <name> create component
store|str <name> create store
model|mdl [options] <name> create modelF
help [command] display help for commandComponent
Generates new component on given path. Component includes .vue, .js and .scss files.
For creating component:
yaxshi component component-nameor
yaxshi cmp component-nameBy default, the component is created on src folder. Add path in front of project name (path/page-name/components) to
create component in different folder.
Store
Generates new store on given path. Store includes state, mutations, actions and index files.
For creating store:
yaxshi store component-nameor
yaxshi str component-nameBy default, the store is created on src folder. Add path in front of project name (path/page-name) to create store
in different folder.
Models
Generates new models on given path.
For creating models:
yaxshi model component-nameor
yaxshi mdl component-nameBy default, the model is created on src folder. Add path in front of project name (path/page-name) to create store
in different folder.
- use
-por--postfor adding post model
