TC.outputDir

Returns the user output folder that contains all output for the script.

TC.outputDir();

Arguments

None

Return value

A promise that is fulfilled with a string upon success. For VuGen, the output folder and script folder returned by TC.scriptDir are the same. For Controller, they are different. The returned path includes the last folder separator.

Example

Copy code
(async ()=>{
    let outDir = await TC.outputDir();
})();