From e553bcc37838a0f83da28a65826328e961b70d40 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 1 Jan 2016 01:58:55 +0300 Subject: [PATCH] planning for cli structure... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/cli.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ui (gen4)/features/cli.js b/ui (gen4)/features/cli.js index 02c1fbbf..e733c113 100755 --- a/ui (gen4)/features/cli.js +++ b/ui (gen4)/features/cli.js @@ -20,6 +20,19 @@ var base = require('features/base') /*********************************************************************/ +// XXX what we need here is: +// - base introspection +// - list features +// - list actions +// - list action scripts / commands +// - call action +// - call action script (a-la git commands) +// +// XXX the main functionality: +// - make previews +// - make index +// - merge +// - clone var CLI = module.CLI = core.ImageGridFeatures.Feature({ @@ -61,6 +74,7 @@ module.CLI = core.ImageGridFeatures.Feature({ .arguments(' [args]') .action(function(action, args){ + // XXX console.log('>>>>', action, args) })