1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/cmd/v/help/bin2v.txt

15 lines
593 B
Plaintext
Raw Normal View History

2020-06-24 01:00:37 +03:00
Usage:
2020-03-13 22:52:49 +03:00
v bin2v [options] FILE [FILE]...
Converts a list of arbitrary files into a single v module file.
2020-06-24 01:00:37 +03:00
You can use this tool to embed binary files, like pictures or fonts inside
2020-03-13 22:52:49 +03:00
the executable of a v program, such that it would not need access to external
resources during runtime, and it would be as self-contained as possible.
Options:
-h, --help Show this help screen.
-m, --module <string> Name of the generated module.
-p, --prefix <string> A prefix put before each resource name.
-w, --write <string> Write directly to a file with the given name.