Skip to main content
View as Markdown

Function: writeCommandToAgent()

writeCommandToAgent(directory): (command, agent, options) => Promise<void>

Defined in: commands.ts:181

Write a command to an agent in EventCatalog.

Parameters

ParameterType
directorystring

Returns

Function

Parameters

ParameterType
commandCommand
agent{ id: string; version: string; }
agent.idstring
agent.version?string
options{ format: "md" | "mdx"; override: boolean; path: string; }
options.format?"md" | "mdx"
options.override?boolean
options.path?string

Returns

Promise<void>