summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-19 18:00:24 +0200
committerSamy Pessé <samypesse@gmail.com>2014-04-19 18:00:24 +0200
commitcf51772f541ae09265f37ff0662da529ca857d4f (patch)
tree0af7b3c0f93359d66622e8bbc78c318c0dbfaa9d /bin
parentcc8516df8315875adc9403881cddaf8ba06fd411 (diff)
downloadgitbook-cf51772f541ae09265f37ff0662da529ca857d4f.zip
gitbook-cf51772f541ae09265f37ff0662da529ca857d4f.tar.gz
gitbook-cf51772f541ae09265f37ff0662da529ca857d4f.tar.bz2
Add command line option "plugins"
Diffstat (limited to 'bin')
-rw-r--r--bin/build.js2
-rwxr-xr-xbin/gitbook.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/build.js b/bin/build.js
index 3059dde..53593cb 100644
--- a/bin/build.js
+++ b/bin/build.js
@@ -33,7 +33,7 @@ var makeBuildFunc = function(converter) {
github: options.github || repoID,
githubHost: options.githubHost,
generator: options.format,
- theme: options.theme
+ plugins: options.plugins
})
);
})
diff --git a/bin/gitbook.js b/bin/gitbook.js
index f46d4d1..d254c10 100755
--- a/bin/gitbook.js
+++ b/bin/gitbook.js
@@ -25,7 +25,7 @@ var buildCommand = function(command) {
.option('-i, --intro <intro>', 'Description of the book to generate, default is extracted from readme')
.option('-g, --github <repo_path>', 'ID of github repo like : username/repo')
.option('--githubHost <url>', 'The url of the github host (defaults to https://github.com/')
- .option('--theme <path>', 'Path to theme directory');
+ .option('--plugins <plugins>', 'List of plugins to use separated by ":"');
};
buildCommand(prog.command('build [source_dir]'))