summaryrefslogtreecommitdiffstats
path: root/lib/cli/options.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-09-05 11:04:18 +0200
committerSamy Pessé <samypesse@gmail.com>2016-09-05 11:04:18 +0200
commita14ca3e268e95a7eab59fb205b41da7331d57631 (patch)
tree9c84b2cbd561345335fca3e26af961b2ea23d8ec /lib/cli/options.js
parent9c071dade573aa6990878006f83c89b6065a1395 (diff)
downloadgitbook-a14ca3e268e95a7eab59fb205b41da7331d57631.zip
gitbook-a14ca3e268e95a7eab59fb205b41da7331d57631.tar.gz
gitbook-a14ca3e268e95a7eab59fb205b41da7331d57631.tar.bz2
Switch to lerna
Diffstat (limited to 'lib/cli/options.js')
-rw-r--r--lib/cli/options.js31
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/cli/options.js b/lib/cli/options.js
deleted file mode 100644
index 72961ab..0000000
--- a/lib/cli/options.js
+++ /dev/null
@@ -1,31 +0,0 @@
-var Logger = require('../utils/logger');
-
-var logOptions = {
- name: 'log',
- description: 'Minimum log level to display',
- values: Logger.LEVELS
- .keySeq()
- .map(function(s) {
- return s.toLowerCase();
- }).toJS(),
- defaults: 'info'
-};
-
-var formatOption = {
- name: 'format',
- description: 'Format to build to',
- values: ['website', 'json', 'ebook'],
- defaults: 'website'
-};
-
-var timingOption = {
- name: 'timing',
- description: 'Print timing debug information',
- defaults: false
-};
-
-module.exports = {
- log: logOptions,
- format: formatOption,
- timing: timingOption
-};