From c978cdd0a438018455137614cc71ef2be0e907db Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 3 Jan 2016 03:03:36 +0300 Subject: [PATCH] minor tweaking and testing... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/cli.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ui (gen4)/features/cli.js b/ui (gen4)/features/cli.js index c9e16a85..37fe86ff 100755 --- a/ui (gen4)/features/cli.js +++ b/ui (gen4)/features/cli.js @@ -62,7 +62,6 @@ module.CLI = core.ImageGridFeatures.Feature({ } - var cli = requirejs('commander') cli // XXX get the version from config... @@ -98,7 +97,13 @@ module.CLI = core.ImageGridFeatures.Feature({ Object.keys(this.getDoc()).join('\n ')) }) - //.command('index [path]', 'build an index of path') + // XXX the problem with this is that it still tires + // to find and run 'ig-index'... + /* + .command('index [path]', 'build an index of path', function(path){ + console.log('!!!!!! INDEX', path) + }) + */ .arguments(' [args]') .action(function(action, args){