1.0.9 • Published 2 years ago

yaxshi v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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
1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago