Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
New Yeoman Cheat Sheet (#3862)
Browse files Browse the repository at this point in the history
* Adding cheat sheet for Yeoman basic commands
  • Loading branch information
StevenPyle authored and pjhampton committed Mar 8, 2017
1 parent 790a0cb commit 2117155
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions share/goodie/cheat_sheets/json/yeoman.json
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"
}
]
}
}

0 comments on commit 2117155

Please sign in to comment.