Skip to main content

generate-client-stubs

Usage: chr generate-client-stubs [OPTIONS]

Generates client code for a rell dapp

Kotlin:
--package TEXT Name of package

Options:
-s, --settings SETTINGS Alternate path for the project settings
file (default: chromia.yml)
--module TEXT Explicitly set which modules to generate
code for. Separate modules with ','
--kotlin, --typescript, --javascript
Language to generate for
--target PATH Directory to generate template project in
(default: <target>/stubs)
-h, --help Show this message and exit

The generate-client-stubs command (chr generate-client-stubs) generates code that can be used to communicate with the Rell backend.