Skip to content

Commit 0435991

Browse files
cli-reference.md update for the new --module-prefix
1 parent c58391c commit 0435991

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/docs/cli-reference.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Run `spacetime rename --help` for more detailed information.
243243

244244
Generate client files for a spacetime module.
245245

246-
**Usage:** `spacetime spacetime generate --lang <LANG> --out-dir <DIR> [--project-path <DIR> | --bin-path <PATH> | --module-name <MODULE_NAME> | --uproject-dir <DIR>]`
246+
**Usage:** `spacetime spacetime generate --lang <LANG> --out-dir <DIR> [--project-path <DIR> | --bin-path <PATH> | --module-name <MODULE_NAME> | --uproject-dir <DIR> | --module-prefix <PREFIX>]`
247247

248248
Run `spacetime help publish` for more detailed information.
249249

@@ -260,6 +260,7 @@ Run `spacetime help publish` for more detailed information.
260260

261261
Default value: `SpacetimeDB.Types`
262262
* `--module-name <MODULE_NAME>` — The module name that should be used for DLL export macros (required for lang unrealcpp)
263+
* `--module-prefix <MODULE_PREFIX>` — The module prefix to use for generated types (only used with --lang unrealcpp)
263264
* `-l`, `--lang <LANG>` — The language to generate
264265

265266
Possible values: `csharp`, `typescript`, `rust`, `unrealcpp`

0 commit comments

Comments
 (0)