Skip to content

BasesPluginInstance.createNewBasesFile method

BasesPluginInstance › createNewBasesFile

Unofficial

Creates a new bases file.

Signature:

createNewBasesFile(location?: TFolder, filename?: string, contents?: string): Promise<TFile>

Parameters:

ParameterTypeDescription
location?TFolderOptional folder location for the new file.
filename?stringOptional filename for the new file.
contents?stringOptional initial contents.

Returns: Promise<TFile> — The created file.