Code Monkey home page Code Monkey logo

generator's Introduction

Generator Build Status Coverage Status

A Rails-inspired generator system that provides scaffolding for your apps.

Generator output

Generator diff

Getting Started

If you're interested in writing your own Yeoman generator we recommend reading the official getting started guide.

There are typically two types of generators - simple boilerplate 'copiers' and more advanced generators which can use custom prompts, remote dependencies, wiring and much more.

The docs cover how to create generators from scratch as well as recommending command-line generators for making other generators.

For deeper research, read the code source or visit our API documentation.

Debugging

To debug a generator, you can pass Node.js debug's flags by running it like this:

# OS X / Linux
node --debug `which yo` <generator> [arguments]

# Windows
node --debug <path to yo binary> <generator> [arguments]

Yeoman generators also use a debug mode to log relevant informations. You can activate it by setting the DEBUG environment variable to the desired scope (for the generator system scope is generators:*).

# OS X / Linux
DEBUG=generators/*

# Windows
set DEBUG=generators/*

License

BSD license Copyright (c) Google

generator's People

Contributors

1989car avatar addyosmani avatar ahmednuaman avatar btford avatar ctalkington avatar eddiemonge avatar floatdrop avatar gillesfabio avatar hemanth avatar jdespatis avatar jridgewell avatar karlguillotte avatar kevva avatar mklabs avatar passy avatar paulkinlan avatar peol avatar raineorshine avatar revathskumar avatar rjw57 avatar ruyadorno avatar sboudrias avatar sebv avatar sindresorhus avatar sleeper avatar smackesey avatar stefanbuck avatar thaiat avatar timrwood avatar wesleytodd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.