Graphorin API reference v0.12.1
Graphorin API reference / @graphorin/cli / / InitCommandOptions
Interface: InitCommandOptions
Defined in: packages/cli/src/commands/init.ts:36
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
cloudConsent? | readonly | "public-only" | "public-and-internal" | "all-with-warnings" | - | packages/cli/src/commands/init.ts:49 |
cwd? | readonly | string | - | packages/cli/src/commands/init.ts:51 |
dryRun? | readonly | boolean | Test seam: skip writing files (only print the report). | packages/cli/src/commands/init.ts:53 |
encrypted? | readonly | boolean | - | packages/cli/src/commands/init.ts:50 |
format? | readonly | "json" | "ts" | F-05: config flavour. 'ts' (default) writes a defineConfig graphorin.config.ts - loading it later requires a Node that can import TypeScript (23.6+/22.18+ type stripping or a registered loader like tsx) AND @graphorin/server resolvable from the config's directory. 'json' writes a plain graphorin.config.json with the same content (the docker-template flavour) that loads anywhere with zero runtime requirements. | packages/cli/src/commands/init.ts:47 |
nonInteractive? | readonly | boolean | - | packages/cli/src/commands/init.ts:48 |
out? | readonly | string | - | packages/cli/src/commands/init.ts:37 |
print? | readonly | (line) => void | Test seam: redirect stdout/err. | packages/cli/src/commands/init.ts:55 |