diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-04-26 15:23:28 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-04-26 15:23:28 +0200 |
commit | fa17f1671685a97e88c84fdba6a94744c54a09b8 (patch) | |
tree | 63083c0645a1f88bc7e96d891ef9ec9509d7680a /lib/cli/serve.js | |
parent | ce99c8c7061eb9b4a2a5f4ff534d7fbeaf37cad0 (diff) | |
download | gitbook-fa17f1671685a97e88c84fdba6a94744c54a09b8.zip gitbook-fa17f1671685a97e88c84fdba6a94744c54a09b8.tar.gz gitbook-fa17f1671685a97e88c84fdba6a94744c54a09b8.tar.bz2 |
Add base for commands
Improve plugins installation
Diffstat (limited to 'lib/cli/serve.js')
-rw-r--r-- | lib/cli/serve.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/cli/serve.js b/lib/cli/serve.js new file mode 100644 index 0000000..d97cfed --- /dev/null +++ b/lib/cli/serve.js @@ -0,0 +1,19 @@ +var path = require('path'); + +var options = require('./options'); +var getBook = require('./getBook'); + +var Parse = require('../parse'); +var Output = require('../output'); + +module.exports = { + name: 'serve [book] [output]', + description: 'serve the book as a website for testing', + options: [ + options.log, + options.format + ], + exec: function(args, kwargs) { + + } +}; |