Skip to main content

listCodeDefinitionNames

codebolt.fs.listCodeDefinitionNames(path: string): Promise<ListCodeDefinitionNamesResponse>
Lists all code definition names in a given path.

Parameters

NameTypeDescription
pathstringThe path to search for code definitions.

Returns:

 Promise<ListCodeDefinitionNamesResponse>
A promise that resolves with the list of code definition names.

Example

// Let's assume you want to list all code definition names in the /home/user/projects directory.

codebolt.fs.listCodeDefinitionNames('/home/user/projects');