summaryrefslogtreecommitdiffstats
path: root/lib/index.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-04-28 21:25:58 +0200
committerSamy Pesse <samypesse@gmail.com>2016-04-28 21:25:58 +0200
commit826f90505c1a70ad2a8cf3715bac6d5efaeba22c (patch)
treea35600d555ff0268f6eb2fc1bd9c44c06438eb27 /lib/index.js
parent7ae36f16c84238340dd6b39a75423f5e95f27bbc (diff)
downloadgitbook-826f90505c1a70ad2a8cf3715bac6d5efaeba22c.zip
gitbook-826f90505c1a70ad2a8cf3715bac6d5efaeba22c.tar.gz
gitbook-826f90505c1a70ad2a8cf3715bac6d5efaeba22c.tar.bz2
Add command "init"
Diffstat (limited to 'lib/index.js')
-rw-r--r--lib/index.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/index.js b/lib/index.js
index ffaea25..0a76e08 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -3,8 +3,11 @@ var extend = require('extend');
var common = require('./browser');
var Output = require('./output');
var cli = require('./cli');
+var initBook = require('./initBook');
module.exports = extend({
- Output: Output,
- commands: cli.commands
+ initBook: initBook,
+ createNodeFS: require('./fs/node'),
+ Output: Output,
+ commands: cli.commands
}, common);