Format a single MAD-X command parameter.
cmd – A MAD-X Command instance for which an argument is to be formatted
key (str) – name of the parameter
str
value – argument value