Skip to content

samirahmedof/yaxshi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yaxshi

Custom CLI

Table of contents

About

Scaffolds Application interface base on templates. Generates Components, Store, Models and Basic Configuration.

Installation

npm install -g yaxshi

Options

-V, --version             output the version number
-h, --help                display help for command

Commands

component|cmp [options] <name>  create component
store|str <name>                create store
model|mdl [options] <name>      create modelF
help [command]            display help for command

Component

Generates new component on given path. Component includes .vue, .js and .scss files.

For creating component:

yaxshi component component-name

or

yaxshi cmp component-name

By 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-name

or

yaxshi str component-name

By 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-name

or

yaxshi mdl component-name

By 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 -p or --post for adding post model

Releases

No releases published

Packages

No packages published

Languages