LIBDNF5 Plugin Template
=======================

Below is a template code for a LIBDNF5 plugin. For the complete tutorial
on writing LIBDNF5 plugins, refer to :ref:`libdnf5 plugins tutorial`.

``libdnf5-plugins/template/template.cpp``

.. literalinclude:: tests/libdnf5-plugin/template.cpp
    :language: c++
    :linenos:

``libdnf5-plugins/template/CMakeLists.txt``

.. literalinclude:: tests/libdnf5-plugin/CMakeLists.txt
    :language: cmake
    :linenos:

``libdnf5-plugins/template/template.conf``

.. literalinclude:: tests/libdnf5-plugin/template.conf
    :language: cfg
    :linenos:
