Update CLI help and README
This commit is contained in:
parent
6619b079c6
commit
62bff79339
2 changed files with 17 additions and 68 deletions
10
src/Main.gd
10
src/Main.gd
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue