mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-30 19:00: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 =
|
var CLI =
|
||||||
module.CLI = core.ImageGridFeatures.Feature({
|
module.CLI = core.ImageGridFeatures.Feature({
|
||||||
@ -61,6 +74,7 @@ module.CLI = core.ImageGridFeatures.Feature({
|
|||||||
|
|
||||||
.arguments('<action> [args]')
|
.arguments('<action> [args]')
|
||||||
.action(function(action, args){
|
.action(function(action, args){
|
||||||
|
// XXX
|
||||||
console.log('>>>>', action, args)
|
console.log('>>>>', action, args)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user