embedfs/cmd/mkembedfs/help.txt

12 lines
676 B
Plaintext
Raw Normal View History

2025-01-12 21:09:12 +03:00
mkembedfs - generate V code for embed directories with files into executable.
usage: mkembedfs [flags] [<path>]
flags:
-help print this help message and exit
-chdir <string> change working directory before codegen
-prefix <string> path prefix for file keys, none by default
-ignore <string> path globs to ignore (allowed multiple times)
2025-01-20 22:42:04 +03:00
-module-name <string> generated module name, 'main' by default
-const-name <string> generated constant name with data, 'embedfs' by default
2025-01-12 21:09:12 +03:00
-no-pub do not make symbols in generated module public
2025-01-20 22:42:04 +03:00
-force-mimetype set 'application/octet-stream' mime type for unknown files