Skip to main content

Module commands

Module commands 

Source

Functionsยง

bytecount
Formats byte count in a human-readable way.
cmd_generate
Generates TypeScript type definitions and a typed RPC client from the configured directory, writing the results to the configured output paths.
cmd_scan
Scans the configured directory and prints discovered RPC procedures, structs, and enums to stdout, followed by a JSON manifest.
generate_all
Scans the source directory and generates all configured TypeScript output files.
write_file
Writes content to a file, creating parent directories as needed.