Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Command Line Tools for yolo
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

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
Something went wrong with that request. Please try again.