mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
planning for cli structure...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
03c56e9612
commit
e553bcc378
@ -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('<action> [args]')
|
||||
.action(function(action, args){
|
||||
// XXX
|
||||
console.log('>>>>', action, args)
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user