Define simple configuration on INI files.
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

README.md 834 B

12345678910
  1. ## Procedure
  2. Subsystem calls its initialize method.
  3. 1. Subsystem copies hardcoded default values to its in-memory state container.
  4. 2. Subsystem defines the available config items it has, and how it is connected to various config sources (i.e. specify its section and key in the config file, as well as supplying command line options connected to this config item).
  5. 3. Subsystem binds the config items with their respective sections and keys in the config file (i.e. correctly point the values to the respective internal state container of the app).
  6. 4. Subsystem retrieves the config file values as well as command line arguments (higher priority) supplied to the app upon invocation.
  7. 5. Subsystem checks if there are some volatile state data to retrieve and syncs it with the state.
  8. 6. Subsystem saves the state to the config file.