Command Line Tools for yolo
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

#yolo-cli Command Line interface for yolo.


$ 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