Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents settings for an Imperative CLI application that can be configured by an end user by modifying a settings file. Settings are stored in {@link AppSettings#settings} in a format specified by ISettingsFile.

Hierarchy

  • AppSettings

Index

Constructors

constructor

Properties

Private Readonly persistence

Private Readonly settings

settings: ISettingsFile

The settings loaded from the file specified in the constructor.

Static Private mInstance

mInstance: AppSettings

This is an internal reference to the static settings instance.

Accessors

Static initialized

  • get initialized(): boolean

Static instance

Methods

Private flush

  • flush(): void

get

getNamespace

getSettings

set

  • set(namespace: keyof ISettingsFile, key: string, value: SettingValue): void

Static initialize

Generated using TypeDoc