/* CLI Interface to set config.js into a new project */

var Prompt = require( "prompt" );
var Fs = require( "fs" );

Prompt.start();
Prompt.message = "Taab";

console.log( "Trello as a blog" );

Prompt.get( ["trelloApiKey", "trelloBoardId"], function ( err, prompt ) {
  var file = Fs.readFileSync("js/config.js.dist" ).toString();

  file = file.replace("$BOARD$", prompt.trelloBoardId);
  file = file.replace("$APIKEY$", prompt.trelloApiKey);

  Fs.writeFileSync("js/config.js", file);
  console.log( "Congratulations! You are ready to change the world with your new blog!" );
} );

@@ -183,24 +183,104 @@
 s a blog%22 );
+%0Aconsole.log( %22To generate an API key : https://trello.com/1/appKey/generate%22 );
 %0A%0APrompt.get

Add https://trello.com/1/appKey/generate into cli