dimcli icon indicating copy to clipboard operation
dimcli copied to clipboard

Allow multiple or composable parsers for a single option

Open gknowles opened this issue 7 years ago • 0 comments

For example integer could accept locale, scientific, engineering (K, Ki, M, Mi, etc), formats. That way any of the following could be used to give you "10,000": 10000 10,000 1e+4 10k

This could apply to anything that has multiple representations, such as timepoints, durations, host names, etc.

gknowles avatar Nov 20 '17 07:11 gknowles