heythere-project / yolo-cli

Command Line Tools for yolo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#yolo-cli Command Line interface for yolo.

##Install

$ npm install yolo-cli -g

###Scaffolding Yolo Generate the yolo structure in the current folder.

$ yolo-cli app

###Scaffolding Yolo Models Generate Models easily with yolo-cli. This would generate a model named "post" with attributes title, content and author and title would be required field.

$ yolo-cli model post title:required content author

###Scaffolding Yolo Controllers Generate Controllers easily with yolo-cli. This would generate a controller namend "posts" with methods index, edit and delete. Method "edit" will be acessabble via 'POST' and "delete" via 'DELETE'. Routes to those methods will be added automatically.

$ yolo-cli controller posts index edit:post delete:delete

About

Command Line Tools for yolo


Languages

Language:JavaScript 100.0%