Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.2 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.2 KB
  • infos = Information about the cpptemplate plugin is in keys below
  • infos/author = Author Name [email protected]
  • infos/licence = BSD
  • infos/needs =
  • infos/provides = storage/info
  • infos/recommends =
  • infos/placements = getstorage
  • infos/status = maintained unittest nodep experimental nodoc concept
  • infos/metadata =
  • infos/description = A template for C++ based plugins

CPP Template

Introduction

Please use the script copy-template to create a new C++ plugin based on this template:

scripts/dev/copy-template -p pluginname

. For more information please take a look here

Installation

See installation. The package is called libelektra5-experimental.

Example

sudo kdb mount -R noresolver none user:/tests/cpptemplate cpptemplate some=thing config=value

# This example plugin adds configuration values at the mount point
kdb ls user:/tests/cpptemplate
#> user:/tests/cpptemplate/config
#> user:/tests/cpptemplate/path
#> user:/tests/cpptemplate/some

kdb get user:/tests/cpptemplate/config
#> value

kdb get user:/tests/cpptemplate/path
#> none

sudo kdb umount user:/tests/cpptemplate