1.0.8 • Published 7 years ago

mvc-file-crud v1.0.8

Weekly downloads
10
License
MIT
Repository
gitlab
Last release
7 years ago

mvc-file-crud

Main features

  1. Create new view views and models
  2. Rename existing views and models
  3. Delete existing models and views

Installing:

$ sudo npm install -g mvc-file-crud

Syntax:

$ mvc [option] file_name [file_name]

Commdands:

OptionsActionAlternative optionsSyntax
-hHelp--h, -help, --helpmvc -h
-nCreate new models--n, -new, --newmvc -n file_name file_name
-rnRename existing-r, --r, --rn, -renamemvc -rn old_name new_name
-dDelete existing--d, -del, --del, -deletemvc -d file_name file_name

Example:

mvc -n first_file second_file

The result

.
├── model
|   └─── views
|        ├── first_file.json
|        └── second_file.json
├── views
|   ├── first_file.hbs
|   └── second_file.hbs
1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago