visionmedia/commander.js — Issue #30: How to go back to prompt
Author: johnnywengluu
Created: 2011-11-24 02:20:11+00:00
State: open

I have the following CoffeeScript code:

program
.command("init")
.description("initialize application")
.action () ->
program.prompt "folder to list: ", (folder) ->
console.log folder

After the command has displayed folder it has still not exited to the prompt.

How do I exit?