mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e020cc64e1
commit
8b71280823
@ -279,7 +279,6 @@ var CLIActions = actions.Actions({
|
|||||||
cliExportImages: ['- System/Export images',
|
cliExportImages: ['- System/Export images',
|
||||||
{cli: argv && argv.Parser({
|
{cli: argv && argv.Parser({
|
||||||
key: '@export',
|
key: '@export',
|
||||||
|
|
||||||
// help...
|
// help...
|
||||||
'-help-pattern': {
|
'-help-pattern': {
|
||||||
doc: 'Show image filename pattern info and exit',
|
doc: 'Show image filename pattern info and exit',
|
||||||
@ -289,7 +288,6 @@ var CLIActions = actions.Actions({
|
|||||||
return argv.STOP } },
|
return argv.STOP } },
|
||||||
'-version': undefined,
|
'-version': undefined,
|
||||||
'-quiet': undefined,
|
'-quiet': undefined,
|
||||||
|
|
||||||
// commands...
|
// commands...
|
||||||
'@from': {
|
'@from': {
|
||||||
doc: 'Source path',
|
doc: 'Source path',
|
||||||
@ -301,7 +299,6 @@ var CLIActions = actions.Actions({
|
|||||||
arg: 'PATH | path',
|
arg: 'PATH | path',
|
||||||
required: true,
|
required: true,
|
||||||
valueRequired: true, },
|
valueRequired: true, },
|
||||||
|
|
||||||
// bool options...
|
// bool options...
|
||||||
// XXX these should get defaults from .config
|
// XXX these should get defaults from .config
|
||||||
'-include-virtual': {
|
'-include-virtual': {
|
||||||
@ -320,15 +317,14 @@ var CLIActions = actions.Actions({
|
|||||||
doc: 'Negate boolean option value',
|
doc: 'Negate boolean option value',
|
||||||
handler: function(rest, key, value, ...args){
|
handler: function(rest, key, value, ...args){
|
||||||
rest.unshift(key.replace(/^-?-no/, '') +'=false') } },
|
rest.unshift(key.replace(/^-?-no/, '') +'=false') } },
|
||||||
|
|
||||||
// options...
|
// options...
|
||||||
'-image-name': {
|
'-image-name': {
|
||||||
doc: 'Image name pattern',
|
doc: 'Image name pattern',
|
||||||
arg: 'PATTERN | preview-name-pattern',
|
arg: 'PATTERN | preview-name-pattern',
|
||||||
default: '%(fav)l%n%(-%c)c',
|
default: '%(fav)l%n%(-%c)c',
|
||||||
valueRequired: true, },
|
valueRequired: true, },
|
||||||
// XXX get values automatically...
|
|
||||||
'-mode': {
|
'-mode': {
|
||||||
|
// XXX get doc values from system...
|
||||||
doc: 'Export mode, can be "resize" or "copy best match"',
|
doc: 'Export mode, can be "resize" or "copy best match"',
|
||||||
arg: 'MODE | export-mode',
|
arg: 'MODE | export-mode',
|
||||||
//default: 'copy best match',
|
//default: 'copy best match',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user