Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.41 KB

partials.md

File metadata and controls

39 lines (28 loc) · 1.41 KB

Partials

A "partial" is a type of "sub-generator" that is used to create a one part (or "component") of a project. Partials typically only include a small number or files and/or directories.

"Project Scaffolds" (the other sub-generator type), are particular collections and arrangements of various partials, but you can also call partials, directly, when you only want to create or recreate a single component, rather than an entire project.

Partial Dependency

Some partials depend on other partials. For example, the "luke:vagrant" partial places files in the env/ directory, which, itself, is created by the luke:env-dir partial. Partials will automatically include any other partials that they need, so you may find slightly more output than you expect in some cases.

Basic Usage

Calling a partial, directly:

$ mkdir myproject
$ cd myproject
$ yo luke:vagrant

Partial Listing

Documentation for each "partial" can be found here.

Further Reading