This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding cheat sheet for Yeoman basic commands
- Loading branch information
1 parent
790a0cb
commit 2117155
Showing
1 changed file
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"id": "yeoman_cheat_sheet", | ||
"name": "Yeoman", | ||
"description": "A generic scaffolding system allowing the creation of any kind of app", | ||
|
||
"metadata": { | ||
"sourceName": "Yeoman", | ||
"sourceUrl" : "http://yeoman.io/learning/index.html" | ||
}, | ||
|
||
"aliases": [ | ||
], | ||
|
||
"template_type": "terminal", | ||
|
||
"section_order": [ | ||
"Getting Started", | ||
"Basic Scaffolding", | ||
"Other Yo Commands", | ||
"Troubleshooting" | ||
], | ||
|
||
"sections": { | ||
"Getting Started": [ | ||
{ | ||
"key": "npm install -g yo", | ||
"val": "Install yo, the command line utility for Yeoman" | ||
}, | ||
{ | ||
"key": "npm install -g <generator_name>", | ||
"val": "Install the needed generator(s). Generators are npm packages named generator-XYZ. The list of available generators can be found at: http://yeoman.io/generators/" | ||
} | ||
], | ||
"Basic Scaffolding": [ | ||
{ | ||
"key": "yo <generator_name>", | ||
"val": "To scaffold a new project. In this case, the generator name is the name of the generator package without the 'generator-' prefix. ('XYZ' instead of 'generator-XYZ')" | ||
} | ||
], | ||
"Other Yo Commands": [ | ||
{ | ||
"key": "yo --help", | ||
"val": "Access the full help screen" | ||
}, | ||
{ | ||
"key": "yo --generators", | ||
"val": "List every installed generator" | ||
}, | ||
{ | ||
"key": "yo --version", | ||
"val": "Get the version of yo" | ||
} | ||
], | ||
"Troubleshooting": [ | ||
{ | ||
"key": "yo doctor", | ||
"val": "The doctor command will diagnose and provide steps to resolve the most common issues" | ||
} | ||
] | ||
} | ||
} |