Skip to content

PURISTA API


PURISTA API / @purista/cli / createEntrypointFile

Function: createEntrypointFile()

createEntrypointFile(input, puristaConfig): string

Defined in: packages/cli/src/blueprints/content.ts:405

Parameters

input

CreateProjectInput

puristaConfig

$schema

string = ...

agentPath

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" | "prettier" | "none" = ...

linter

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

runtime

"node" | "bun" = ...

servicePath

string = ...

Returns

string