mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +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...
|
||||
//
|
||||
cliStartREPL: ['- System/CLI/start CLI interpreter',
|
||||
@ -725,6 +735,11 @@ module.CLI = core.ImageGridFeatures.Feature({
|
||||
version: pkg.version,
|
||||
license: pkg.license,
|
||||
|
||||
// examples...
|
||||
examples: CLIActions.cliExamples ?
|
||||
CLIActions.cliExamples.flat()
|
||||
: null,
|
||||
|
||||
'-verbose': {
|
||||
doc: 'enable (very) verbose output',
|
||||
handler: function(){
|
||||
|
||||
12
Viewer/package-lock.json
generated
12
Viewer/package-lock.json
generated
@ -1562,9 +1562,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/ig-argv": {
|
||||
"version": "2.16.9",
|
||||
"resolved": "https://registry.npmjs.org/ig-argv/-/ig-argv-2.16.9.tgz",
|
||||
"integrity": "sha512-YVB54ckpJPxvnHC/yTLj1nlklarICU5OHHlbszb6Wm+ovzoVWZmQLb2naMUzEHA7yuwoKDnHMndEnmwlJuY/mg==",
|
||||
"version": "2.16.10",
|
||||
"resolved": "https://registry.npmjs.org/ig-argv/-/ig-argv-2.16.10.tgz",
|
||||
"integrity": "sha512-jc0oD19UWpUeZsmsmFIntwdLi57E5KaaIEO8f3wWl3S0pc2g6tBj2Q36xXpOc0Pg+OfQZ0HGSoIhHHy0uP1O2A==",
|
||||
"dependencies": {
|
||||
"ig-object": "^5.4.16"
|
||||
}
|
||||
@ -4520,9 +4520,9 @@
|
||||
}
|
||||
},
|
||||
"ig-argv": {
|
||||
"version": "2.16.9",
|
||||
"resolved": "https://registry.npmjs.org/ig-argv/-/ig-argv-2.16.9.tgz",
|
||||
"integrity": "sha512-YVB54ckpJPxvnHC/yTLj1nlklarICU5OHHlbszb6Wm+ovzoVWZmQLb2naMUzEHA7yuwoKDnHMndEnmwlJuY/mg==",
|
||||
"version": "2.16.10",
|
||||
"resolved": "https://registry.npmjs.org/ig-argv/-/ig-argv-2.16.10.tgz",
|
||||
"integrity": "sha512-jc0oD19UWpUeZsmsmFIntwdLi57E5KaaIEO8f3wWl3S0pc2g6tBj2Q36xXpOc0Pg+OfQZ0HGSoIhHHy0uP1O2A==",
|
||||
"requires": {
|
||||
"ig-object": "^5.4.16"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user