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
const Generator = require('yeoman-generator'); // this | |
const yosay = require('yosay'); // yeoman ascii image | |
const chalk = require('chalk'); // color text | |
const shell = require('shelljs'); // shell commands | |
module.exports = class extends Generator { | |
initializing() { | |
// Use this.log instead of console.log | |
this.log( yosay( chalk.red("Hello World") ) ); | |
NewerOlder