Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
ini: give small mount example
Browse files Browse the repository at this point in the history
for #280
  • Loading branch information
Markus Raab committed Oct 29, 2015
1 parent 95c72cb commit e7c12e7
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/plugins/ini/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,31 @@

## INTRODUCTION ##

This plugin allows reading of INI files. INI files consist of simple
This plugin allows read/write of INI files. INI files consist of simple
key value pairs of the form "key = value". Additionally keys can be
categorised into different sections. Sections must be enclosed in "[]",
for example "[section]". Each section is converted into a directory key
(without value) and keys below the section are located below the section
key. If the same section appears multiple times, the keys of all sections
with the same name are merged together under the section key.

## USAGE ##

If you want to add a ini file to the global key database, simply use mount:

kdb mount file.ini /test ini

Then you can modify the contents of the ini file using set:

kdb set user/test/key value
kdb set user/test/section
kdb set user/test/section/key value

Find out which file you modified:

kdb file user/test


## SECTIONS ##

When converting a KeySet to an INI file it is important to differentiate between
Expand Down

0 comments on commit e7c12e7

Please sign in to comment.