Skip to content

Commit

Permalink
Move the ascii art and explanation to yeoman:app. Addresses issue yeo…
Browse files Browse the repository at this point in the history
  • Loading branch information
btford committed Oct 10, 2012
1 parent 2b38f1d commit e894d2d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lib/generators/yeoman/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,22 @@ AppGenerator.prototype.askFor = function askFor (argument) {
var cb = this.async(),
self = this;


// Welcome message
var welcome =
'\n _-----_' +
'\n | |' +
'\n |'+'--(o)--'.red+'| .--------------------------.' +
'\n `---------´ | '+'Welcome to Yeoman,'.yellow.bold+' |' +
'\n '+'( '.yellow+'_'+'´U`'.yellow+'_'+' )'.yellow+' | '+'ladies and gentlemen!'.yellow.bold+' |' +
'\n /___A___\\ \'__________________________\'' +
'\n | ~ |'.yellow +
'\n __'+'\'.___.\''.yellow+'__' +
'\n ´ '+'` |'.red+'° '+'´ Y'.red+' `\n';

console.log(welcome);
console.log('Out of the box I include HTML5 Boilerplate, jQuery and Modernizr.');

// a bit verbose prompt configuration, maybe we can improve that
// demonstration purpose. Also, probably better to have this in other generator, whose responsability is to ask
// and fetch all realated bootstrap stuff, that we hook from this generator.
Expand Down

0 comments on commit e894d2d

Please sign in to comment.