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.
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.
Calling a partial, directly:
$ mkdir myproject
$ cd myproject
$ yo luke:vagrant
Documentation for each "partial" can be found here.
- Partial Listing - Individual docs for each partial
- Sub-Generators - General information about generators and sub-generators
- Project Scaffolds - The other type of sub-generator
- Project README - Basic project information