piclist 2.3.5 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/picgo-server CHANGED
@@ -63,6 +63,11 @@ if (argv.host) {
63
63
  defaultHost = String(argv.host)
64
64
  }
65
65
 
66
+ if (argv.v || argv.version) {
67
+ console.log(`picgo-server version: 1.0.0`)
68
+ process.exit(0)
69
+ }
70
+
66
71
  let configPath = argv.c || argv.config || ''
67
72
  if (configPath !== true && configPath !== '') {
68
73
  configPath = configPath.replace(/^~/, os.homedir())
@@ -268,6 +268,8 @@ export declare const ZH_CN: {
268
268
  BUILDIN_COMPRESS_MESSAGE_RESIZEHEIGHT: string;
269
269
  BUILDIN_COMPRESS_ISRESIZEBYPERCENT: string;
270
270
  BUILDIN_COMPRESS_MESSAGE_ISRESIZEBYPERCENT: string;
271
+ BUILDIN_COMPRESS_LONGEDGEASHEIGHT: string;
272
+ BUILDIN_COMPRESS_MESSAGE_LONGEDGEASHEIGHT: string;
271
273
  BUILDIN_COMPRESS_ISFLIP: string;
272
274
  BUILDIN_COMPRESS_ISFLOP: string;
273
275
  BUILDIN_COMPRESS_RESIZEPERCENT: string;