feat: add CLI arguments to project
Python Lint CI / ruff (push) Canceled after 0s
Python Lint CI / ruff-format-check (push) Canceled after 0s
Python Lint CI / ty (push) Canceled after 0s

This commit is contained in:
2026-11-07 15:47:34 +01:00
parent 28512c8805
commit 56f362c1ce
7 changed files with 333 additions and 10 deletions
+22 -1
View File
@@ -4,7 +4,28 @@
> Generate GLSL ready 8x8 glyph maps and usable functions
(wip)
## Usage
```txt
usage: glsl_glyphs [-h] -i SOURCE_IMAGE_PATH -o TARGET_PATH [-n SOURCE_NAMES_PATH] [-s SOURCE_SETS_PATH] [--functions | --no-functions]
[--verbose | --no-verbose] [--quiet | --no-quiet]
options:
-h, --help show this help message and exit
-i, --input SOURCE_IMAGE_PATH
png 8x8 glyph map
-o, --output TARGET_PATH
output glsl file
-n, --names SOURCE_NAMES_PATH
character 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
more verbose logging
--quiet, --no-quiet disable logging
```
## More info about included resources