From f49a1a484e73f9be7b4db92c7a083a34722d5f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Fri, 4 Apr 2014 14:11:43 -0700 Subject: [PATCH] Remove lex command --- bin/gitbook.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bin/gitbook.js b/bin/gitbook.js index 3abeafdd1..98a492e16 100755 --- a/bin/gitbook.js +++ b/bin/gitbook.js @@ -101,15 +101,6 @@ prog }); }); -prog -.command('lex ') -.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