Skip to content
This repository has been archived by the owner on Jul 16, 2019. It is now read-only.
/ pryo-old Public archive

Write yeoman generators in project instead of another package.

Notifications You must be signed in to change notification settings

bolasblack/pryo-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pryo Build Status

Write yeoman generators in project instead of another package.

Usage

Folder structure

├───package.json
├───src
└───generators/
    ├───app/
    │   └───index.js
    └───router/
        └───index.js

Then use `npm bin`/pryo app to execute generator generators/app/index.js

You can custom generators by add generator-folder field to package.json

Use other installed generators

Simply use pryo instead of yo.

For example, I installed generator-angular, then you can execute `npm bin`/pryo angular:controller user to generate controller files.

Command line options

pryo use yargs to parse command line optstrings, read the document to learn more

Example

Read example for more detail.

About

Write yeoman generators in project instead of another package.

Resources

Stars

Watchers

Forks

Packages

No packages published