like sudo dnf hello
that prints > hello there . I have tried many ways following the examples on https://dnf5.readthedocs.io/ but cant get any of it to work.
I see in the docs discussion of plugins and saw this section Tutorial: Writing Plugins — dnf5 documentation
Also discussion of actions.
You can also check the code of existing plugins. dnf5/dnf5-plugins at main · rpm-software-management/dnf5 · GitHub