Skip to content

ruojs/ruo-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruo-cli

Command line utility for ruo projects

Installation

npm install -g ruo-cli

Usage

Run development server and watch file changes

ruo 

Add Code, Test, Spec

ruo gen

View API spec, open localhost:8088/doc when dev server is running

Setup test server and run unittest

ruo test

Or

ruo t

Run oauth unittest

ruo t -g oauth

Run dist/api/accounts-test.js tests

ruo t -f dist/api/accounts-test.js

Getting coverage result

ruo cover
open ./coverage/index.html

Lint source code

ruo lint

Generate API documentation

ruo doc

Generate spec

ruo spec

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •