CLI
mud tablegen

mud tablegen

Autogenerate MUD Store table libraries based on the config file.

Sample usage

Use the definitions in mud.config.ts to generate the Solidity definitions for tables and put them in src/codegen/tables, with an overall index that imports all the definitions in src/codegen/index.sol.

Options

These are the command line options you can specify on mud tablegen:

OptionMeaningTypeDefault value
--versionShow version numberbooleanfalse
--configPathPath to the config filestringmud.config.ts
--helpShow helpbooleanfalse

Debugging

To generate debug messages, use this command:

export DEBUG=mud:common:codegen