Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking: Rewrite config (INI) library to provide an associative array #406

Merged
merged 4 commits into from
Aug 4, 2023

Conversation

DannyBen
Copy link
Owner

@DannyBen DannyBen commented Aug 4, 2023

As discussed in #405


This PR updates the config library with these changes:

  1. config_load FILENAME will set an associative array named config with all the values.
  2. Added support for INI sections which will be presented with dot notation in the associative array (section.key).
  3. config_show will show the loaded config key/value pairs.
  4. config_save FILENAME will save the filename.
  5. All other config methods were removed.

@DannyBen DannyBen merged commit da97b04 into master Aug 4, 2023
@DannyBen DannyBen deleted the refactor/config-lib branch August 4, 2023 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant