Skip to content

outputNames

outputNames(files, extension?): string[]

Defined in: output-names.ts:13

The output file name for each collection file, in order: its own name with extension in place of .json, and without a .collection part (api/webhook.collection.json is webhook.bruno.json; collection.json is collection.bruno.json). Two files with the same name would overwrite each other, so those use the whole path instead, its folders joined with - (apps-a-collection.bruno.json).

string[]

string = ".bruno.json"

string[]