This PR addresses https://github.com/rioj7/command-variable/issues/52 by adding the ability to specify if a value in a pickStringRemember option should be pre-processed before being displayed in the pick list. This is accomplished by allowing the options array to accept and object that specifies the value, label, description, and preProcess options.
The README.md has been updated to include documentation on the object that can be provided as an option to pickStringRemember and several examples have been updated to utilize the new mechanism.
This PR addresses https://github.com/rioj7/command-variable/issues/52 by adding the ability to specify if a value in a
pickStringRemember
option should be pre-processed before being displayed in the pick list. This is accomplished by allowing theoptions
array to accept and object that specifies thevalue
,label
,description
, andpreProcess
options.The
README.md
has been updated to include documentation on the object that can be provided as an option topickStringRemember
and several examples have been updated to utilize the new mechanism.