Update CLI help and README

This commit is contained in:
ChaoticByte 2025-10-10 22:16:16 +02:00
parent 6619b079c6
commit 62bff79339
Signed by: ChaoticByte
SSH key fingerprint: SHA256:bHr1NPU+JZFLUbsTl2/mfa6U+6dcM7VjKohzXnshfFY
2 changed files with 17 additions and 68 deletions

View file

@ -13,13 +13,13 @@ func show_help():
"Commands:\n\n",
" help\n\n",
" | Shows this help text.\n\n",
" apply --shader PATH [--load-image PATH]\n\n",
" apply --shader PATH --input PATH --output PATH\n\n",
" | Applies a shader file.\n\n",
" --shader PATH The path to the shader\n",
" --input PATH The path to the image.\n",
" Passing a folder activates batch mode.\n",
" --output PATH Where to write the resulting image to.\n",
" In batch mode, this must be a folder.\n")
" --input PATH The path to the image\n",
" Passing a folder activates batch mode\n",
" --output PATH Where to write the resulting image to\n",
" In batch mode, this must be a folder\n")
func parse_custom_cmdline(args: PackedStringArray):
var kwargs: Dictionary = {"--shader": null, "--output": null, "--input": null}