generate-types
command converts all enabled SuprSend schemas from a specified workspace into strongly-typed programming language interfaces. This command processes all enabled schemas with meaningful content from the workspace, not just a single schema.
Syntax
<output-file>
- Path to the output file where types will be generated (required)
.ts
, .go
, .py
, .kt
, .swift
files. Additional extensions like .java
and .dart
may also be supported.
Options
Flag | Description | Default |
---|---|---|
-h, --help | Show help for the command | – |
--build-flags string | Flags to generate types in a certain way | – |
--mode string | Mode of schema to fetch (currently unused) | live |