Add test plugin which allows to query whether a module or action plugin is available (#3628)

* Add test which allows to query whether an action is available.

* Add documentation.

* Fix FreeBSD / macOS compatibility.

* Rename an_action -> a_module.

* Forgot one place.
This commit is contained in:
Felix Fontein 2021-11-01 19:00:24 +01:00 committed by GitHub
commit c69810bf04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 183 additions and 0 deletions

View file

@ -0,0 +1,3 @@
add plugin.test:
- name: a_module
description: Check whether the given string refers to an available module or action plugin