Skip to content

PURISTA API


PURISTA API / @purista/cli / getCommandSchemaFileContent

Function: getCommandSchemaFileContent()

getCommandSchemaFileContent(input): string

Defined in: content/command/getCommandSchemaFileContent.ts:6

Parameters

input

codeWriterOptions?

Partial<Options>

commandName

string

puristaConfig

{ $schema: string; eventBridge: "default" | "amqp" | "nats" | "mqtt" | "dapr"; eventConvention: "camel" | "snake" | "kebab" | "pascal" | "pascalSnake" | "constantCase" | "dotCase" | "pathCase" | "trainCase"; fileConvention: "camel" | "snake" | "kebab" | "pascal" | "pascalSnake"; formatter: "biome" | "none" | "prettier"; linter: "biome" | "eslint" | "none"; runtime: "node" | "bun"; servicePath: string; }

puristaConfig.$schema

string = ...

puristaConfig.eventBridge

"default" | "amqp" | "nats" | "mqtt" | "dapr" = ...

puristaConfig.eventConvention

"camel" | "snake" | "kebab" | "pascal" | "pascalSnake" | "constantCase" | "dotCase" | "pathCase" | "trainCase" = ...

puristaConfig.fileConvention

"camel" | "snake" | "kebab" | "pascal" | "pascalSnake" = ...

puristaConfig.formatter

"biome" | "none" | "prettier" = ...

puristaConfig.linter

"biome" | "eslint" | "none" = ...

puristaConfig.runtime

"node" | "bun" = ...

puristaConfig.servicePath

string = ...

serviceName

string

serviceVersion

string

Returns

string