Generates the bindings and writes them under a directory, one file per package.
This is what the bytebox-bindgen command runs. That command, in src/bin/bindgen.ts, is a
wrapper: it parses arguments, calls this, and prints the result. Import this instead when the
caller is TypeScript rather than a shell.
Generates the bindings and writes them under a directory, one file per package.
This is what the
bytebox-bindgencommand runs. That command, insrc/bin/bindgen.ts, is a wrapper: it parses arguments, calls this, and prints the result. Import this instead when the caller is TypeScript rather than a shell.