refactor: clearer args

This commit is contained in:
2026-11-07 16:15:57 +01:00
parent 1dd2bce5c4
commit 22d2952334
2 changed files with 31 additions and 17 deletions
+12 -13
View File
@@ -7,26 +7,25 @@
## Usage
```txt
usage: glsl-glyphs [-h] -i SOURCE_IMAGE_PATH [-n TARGET_NAME] -o TARGET_PATH [--glyph-names SOURCE_NAMES_PATH] [-s SOURCE_SETS_PATH]
[--functions | --no-functions] [--verbose | --no-verbose] [--quiet | --no-quiet]
usage: glsl-glyphs [-h] -i INPUT_FILE [-n NAME] -o OUTPUT_FILE [-g NAMES_FILE] [-s SETS_FILE] [-f | --functions | --no-functions]
[-v | --verbose | --no-verbose] [-q | --quiet | --no-quiet]
options:
-h, --help show this help message and exit
-i, --input SOURCE_IMAGE_PATH
-i, --input INPUT_FILE
png 8x8 glyph map
-n, --name TARGET_NAME
target derived name for GLSL constants and functions (default: glyph)
-o, --output TARGET_PATH
-n, --name NAME target derived name for GLSL constants and functions (default: glyph)
-o, --output OUTPUT_FILE
output glsl file
--glyph-names SOURCE_NAMES_PATH
-g, --glyph-names NAMES_FILE
glyphs names, one line each
-s, --sets SOURCE_SETS_PATH
defined sets in CSV: index,length,name
--functions, --no-functions
add GLSL functions to output (default)
--verbose, --no-verbose
-s, --sets SETS_FILE defined sets in CSV: index,length,name
-f, --functions, --no-functions
add GLSL functions to output
-v, --verbose, --no-verbose
more verbose logging
--quiet, --no-quiet disable logging
-q, --quiet, --no-quiet
disable logging
```
## More info about included resources