feat: add CLI arguments to project
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user