sensu / sensu-plugin-sdk

A framework for creating Sensu plugins
MIT License
7 stars 8 forks source link

Feature Enhancement: extend base plugin cmd to describe environment variable to argument mappings #58

Open jspaleta opened 3 years ago

jspaleta commented 3 years ago

Current Problem

Right now we don't have a consistent way to expose which argument are backed by environment variables.

Straw Proposals

two possible implementations 1) extend the usage message to include a table of these mappings 2) extend plugin with a command to describe the supported envvars

echlebek commented 2 years ago

I like option #2 personally, as I feel the usage format is a little too compact to describe the mappings well.