community.general
community.general copied to clipboard
ini_file - add feature 'section_has_values'
SUMMARY
ini_file: Add an optional parameter section_has
. If the target ini file contains more than one section
, use section_has
to specify which one should be updated.
Use case: In wireguard config there can be multiple [Peer] sections. See example in source code doc string
ISSUE TYPE
- Feature Pull Request
COMPONENT NAME
ini_file