diff --git a/IO/RuleIO.ts b/IO/RuleIO.ts new file mode 100644 index 0000000..d4d392c --- /dev/null +++ b/IO/RuleIO.ts @@ -0,0 +1,20 @@ +class SettingsIO { + private static instance: SettingsIO; + + private constructor() {} + + public static getInstance(): SettingsIO { + if (!SettingsIO.instance) { + SettingsIO.instance = new SettingsIO(); + } + return SettingsIO.instance; + } + + // reading from yaml + // reading from json + // reading from regular txt file + +} + +const settingsIO = SettingsIO.getInstance(); +export default settingsIO;