sdk preview
Runs the real generator for one language and lists the files it would write, without starting a build or counting against your builds. It's the fast way to see what a spec or settings change does to the code.
bash
octri sdk preview --lang <language> [--show <path>] [--out <dir>]Flags
--lang <language>stringrequiredOne language ID. You can also give it as the first argument.
--show <path>stringPrints one generated file. A path that's unique to one file is enough, such as client.go.
--out <dir>pathWrites every generated file to a folder.
Examples
Preview the TypeScript SDK
bash
octri sdk preview --lang typescriptRead one file
bash
octri sdk preview --lang typescript --show src/client.tsRelated
octri sdk build: Build SDKs for the languages you choose and follow each one live.octri lab run: Validate, build, download and unpack in one command, with a verdict per language.