mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
more work on cli...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
feb62c9dd8
commit
fe6bdf65e5
@ -195,6 +195,16 @@ var CLIActions = actions.Actions({
|
|||||||
]) }],
|
]) }],
|
||||||
|
|
||||||
|
|
||||||
|
// XXX do a better set of examples...
|
||||||
|
cliExamples: [[
|
||||||
|
'Create/init index in current directory',
|
||||||
|
'$ $SCRIPTNAME init',
|
||||||
|
'',
|
||||||
|
'Export 500px previews from current index to ./preview directory',
|
||||||
|
'$ $SCRIPTNAME export from=. to=./previews --image-size=500',
|
||||||
|
]],
|
||||||
|
|
||||||
|
|
||||||
// Startup commands...
|
// Startup commands...
|
||||||
//
|
//
|
||||||
cliStartREPL: ['- System/CLI/start CLI interpreter',
|
cliStartREPL: ['- System/CLI/start CLI interpreter',
|
||||||
@ -725,6 +735,11 @@ module.CLI = core.ImageGridFeatures.Feature({
|
|||||||
version: pkg.version,
|
version: pkg.version,
|
||||||
license: pkg.license,
|
license: pkg.license,
|
||||||
|
|
||||||
|
// examples...
|
||||||
|
examples: CLIActions.cliExamples ?
|
||||||
|
CLIActions.cliExamples.flat()
|
||||||
|
: null,
|
||||||
|
|
||||||
'-verbose': {
|
'-verbose': {
|
||||||
doc: 'enable (very) verbose output',
|
doc: 'enable (very) verbose output',
|
||||||
handler: function(){
|
handler: function(){
|
||||||
|
|||||||
12
Viewer/package-lock.json
generated
12
Viewer/package-lock.json
generated
@ -1562,9 +1562,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ig-argv": {
|
"node_modules/ig-argv": {
|
||||||
"version": "2.16.9",
|
"version": "2.16.10",
|
||||||
"resolved": "https://registry.npmjs.org/ig-argv/-/ig-argv-2.16.9.tgz",
|
"resolved": "https://registry.npmjs.org/ig-argv/-/ig-argv-2.16.10.tgz",
|
||||||
"integrity": "sha512-YVB54ckpJPxvnHC/yTLj1nlklarICU5OHHlbszb6Wm+ovzoVWZmQLb2naMUzEHA7yuwoKDnHMndEnmwlJuY/mg==",
|
"integrity": "sha512-jc0oD19UWpUeZsmsmFIntwdLi57E5KaaIEO8f3wWl3S0pc2g6tBj2Q36xXpOc0Pg+OfQZ0HGSoIhHHy0uP1O2A==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ig-object": "^5.4.16"
|
"ig-object": "^5.4.16"
|
||||||
}
|
}
|
||||||
@ -4520,9 +4520,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ig-argv": {
|
"ig-argv": {
|
||||||
"version": "2.16.9",
|
"version": "2.16.10",
|
||||||
"resolved": "https://registry.npmjs.org/ig-argv/-/ig-argv-2.16.9.tgz",
|
"resolved": "https://registry.npmjs.org/ig-argv/-/ig-argv-2.16.10.tgz",
|
||||||
"integrity": "sha512-YVB54ckpJPxvnHC/yTLj1nlklarICU5OHHlbszb6Wm+ovzoVWZmQLb2naMUzEHA7yuwoKDnHMndEnmwlJuY/mg==",
|
"integrity": "sha512-jc0oD19UWpUeZsmsmFIntwdLi57E5KaaIEO8f3wWl3S0pc2g6tBj2Q36xXpOc0Pg+OfQZ0HGSoIhHHy0uP1O2A==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"ig-object": "^5.4.16"
|
"ig-object": "^5.4.16"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user