This mostly exists for reference purposes in the event someone may choose to utilize my cwlib-rs library. If you intend on actually using this tool right now, it's quite barebones. It can currently only extract files from a FARC.
Using the tool looks a bit like this:
./cwlib-cli extract --farc-path ./data.farc --file-db-path ./blurayguids.map --guid 1234 --output-path ./output.bin
You can replace --guid with --hash or --path and provide those parameters instead.
--path gamedata/path/to/file
--hash 0123456789abcdeffedcba987654321001234567
The first argument extract is the mode subcommand, there is also create and insert, these currently do nothing.
--farc-path, --file-db-path, and --output-path are operands which accept a path to a file, where the FARC and FileDB paths accept existing files and the output path is the path to a file for an extracted file to be written to.