Write a `evs-plugin` binary
Write a evs-plugin
binary (or a better name), that can:
-
list paths in which plugins are searched
-
list {readme,renderer,targetrenderer,rcs,actions} plugins
-
dislay plugin name, keyword, description, and priority
-
sort according to path, keyword or priority
-
Examples:
-
evs-plugin
List all plugins -
evs-plugin --setup SETUP
List all plugins, using SETUP as a setup file. -
evs-plugin --libdirs ~/.evsconfig
List all plugins located in directory ~/.evsconfig -
evs-plugin --type readme -t target
List all readme and target plugins. -
evs-plugin --type readme,target
Idem -
evs-plugin --type "readme target"
Idem -
evs-plugin --type html.readme -t html.target
List all readme and target plugins of the html renderer. -
evs-plugin --sort type,renderer,priority
Sort plugins: first sort key is plugin type (renderer, action, etc.); second sort key is rendere (for read» -
evs-plugin --show priority,keyword
Show fields priority and keyword. Available arguments are type, renderer, keyword, priority, name, path. Default»- if one type:
{renderer}.{keyword} {name} {description} {path}
- if several:
({type}) {renderer}.{keyword} {name} {description} {path}
- if one type:
-
evs-plugin --format "({type}) {renderer}.{keyword} {name} {path}"
More precise output than--show
.
-