$darkmode
Elektra 0.11.0
Plugin: template

Copy this template if you want to start a new plugin written in C.

Installation

See installation. The package is called libelektra5-experimental.

Usage

You can use scripts/copy-template to automatically rename everything to your plugin name:

1 cd src/plugins
2 ../../scripts/copy-template yourplugin

Then update the README.md of your newly created plugin:

Plugin Configuration

None.

Dependencies

None.

Examples

1 # Backup-and-Restore: user:/tests/template
2 
3 kdb set user:/tests/template/key value
4 #> Create a new key user:/tests/template/key with string "value"
5 
6 kdb get /tests/template/key
7 #> value

Limitations

None.