-m param without args list modes
This commit is contained in:
parent
e9bc9f568d
commit
86c9644972
1 changed files with 5 additions and 0 deletions
|
@ -19,6 +19,11 @@ const args = parse(Deno.args, {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (args["mode"] === true){
|
||||||
|
console.log(collageModeType.join(", "));
|
||||||
|
Deno.exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
const files: string[] = [];
|
const files: string[] = [];
|
||||||
const includeExtensions = Array.from(
|
const includeExtensions = Array.from(
|
||||||
String(args["include"] || "*.png, *.jpg").matchAll(/\*\.([\w]+)/g),
|
String(args["include"] || "*.png, *.jpg").matchAll(/\*\.([\w]+)/g),
|
||||||
|
|
Loading…
Reference in a new issue