summaryrefslogtreecommitdiffstats
path: root/bin/gitbook.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-04 14:11:43 -0700
committerSamy Pessé <samypesse@gmail.com>2014-04-04 14:11:43 -0700
commitf49a1a484e73f9be7b4db92c7a083a34722d5f12 (patch)
tree6714463fc148ab789d970cc4258f15cd1c83ff09 /bin/gitbook.js
parent446d486a0fb725f3df76d9b6e8d2bca02042805b (diff)
downloadgitbook-f49a1a484e73f9be7b4db92c7a083a34722d5f12.zip
gitbook-f49a1a484e73f9be7b4db92c7a083a34722d5f12.tar.gz
gitbook-f49a1a484e73f9be7b4db92c7a083a34722d5f12.tar.bz2
Remove lex command
Diffstat (limited to 'bin/gitbook.js')
-rwxr-xr-xbin/gitbook.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/bin/gitbook.js b/bin/gitbook.js
index 3abeafd..98a492e 100755
--- a/bin/gitbook.js
+++ b/bin/gitbook.js
@@ -101,15 +101,6 @@ prog
});
});
-prog
-.command('lex <page_file>')
-.description('Parse a page file into sections, display JSON dump')
-.action(function(page_file) {
- var parsed = parse.page(fs.readFileSync(page_file, 'utf-8'));
-
- console.log(JSON.stringify(parsed, null, 4));
-});
-
// Parse and fallback to help if no args