summaryrefslogtreecommitdiffstats
path: root/src/Config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/Config.ts')
-rw-r--r--src/Config.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Config.ts b/src/Config.ts
index 3a98a71..9b86fc8 100644
--- a/src/Config.ts
+++ b/src/Config.ts
@@ -20,12 +20,15 @@ export class Config {
values.tparamTemplate = cfg.get<string>("tparamTemplate", values.tparamTemplate);
values.returnTemplate = cfg.get<string>("returnTemplate", values.returnTemplate);
values.linesToGet = cfg.get<number>("linesToGet", values.linesToGet);
+ values.authorTag = cfg.get<string>("authorTag", values.authorTag);
+ values.fileTemplate = cfg.get<string>("fileTemplate", values.fileTemplate);
return values;
}
public readonly paramTemplateReplace: string = "{param}";
public readonly typeTemplateReplace: string = "{type}";
+ public readonly nameTemplateReplace: string = "{name}";
public triggerSequence: string = "/**";
public firstLine: string = "/**";
@@ -41,4 +44,6 @@ export class Config {
public tparamTemplate: string = "@tparam {param} ";
public returnTemplate: string = "@return {type} ";
public linesToGet: number = 20;
+ public authorTag: string = "@author your name";
+ public fileTemplate: string = "@file {name}";
}