Skip to content

apollo-code


apollo-code / storage/src / PromptLoader

Class: PromptLoader

Constructors

Constructor

new PromptLoader(options): PromptLoader

Parameters

options

PromptLoaderOptions

Returns

PromptLoader

Properties

options

readonly options: PromptLoaderOptions

Methods

load()

load(path): Promise<string>

Parameters

path

string

Returns

Promise<string>


registerProject()

registerProject(composer): Promise<object[]>

Parameters

composer

PromptComposer

Returns

Promise<object[]>