mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-22 18:22:00 +00:00
Integration: cargo fmt
This commit is contained in:
1 parent
fe220983a7
commit
d87a169738
2 files changed
+34
-3
No files matched your search
@@ -86,13 +86,37 @@ const SUBCOMMANDS: &[Subcommand] = &[
|
||||
Subcommand { name: "info", values: &[], bare: &["--compact"], run: |a, out, _| info(a, out) },
|
||||
Subcommand {
|
||||
name: "run",
|
||||
values: &["--new", "--cmd", "--params", "--out", "--format", "--quality", "--tga-bits", "--dpx-bits", "--dds-compression", "--tiff-compression", "--jpeg-format"],
|
||||
values: &[
|
||||
"--new",
|
||||
"--cmd",
|
||||
"--params",
|
||||
"--out",
|
||||
"--format",
|
||||
"--quality",
|
||||
"--tga-bits",
|
||||
"--dpx-bits",
|
||||
"--dds-compression",
|
||||
"--tiff-compression",
|
||||
"--jpeg-format",
|
||||
],
|
||||
bare: &["--tiff-layers", "--dds-mipmaps"],
|
||||
run: run_cmds,
|
||||
},
|
||||
Subcommand {
|
||||
name: "batch",
|
||||
values: &["--actions", "--action", "--in", "--out", "--format", "--quality", "--tga-bits", "--dpx-bits", "--dds-compression", "--tiff-compression", "--jpeg-format"],
|
||||
values: &[
|
||||
"--actions",
|
||||
"--action",
|
||||
"--in",
|
||||
"--out",
|
||||
"--format",
|
||||
"--quality",
|
||||
"--tga-bits",
|
||||
"--dpx-bits",
|
||||
"--dds-compression",
|
||||
"--tiff-compression",
|
||||
"--jpeg-format",
|
||||
],
|
||||
bare: &["--in-place", "--tiff-layers", "--dds-mipmaps"],
|
||||
run: batch,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user