diff --git a/src/cli.js b/src/cli.js index 97fbc82f..25ed67d2 100644 --- a/src/cli.js +++ b/src/cli.js @@ -8,7 +8,7 @@ module.exports = function cli() { .command({ command: 'init', desc: 'Initialize Node.js project', - handler: init, + handler: () => init(), }) .demandCommand(1) .help()