~ser/claptrap#2: 
#clapconf doesn't support multi-values in the configs

TOML supports multi-values, e..g.

ip="10.89.23.2"
ip="10.89.23.3"
ip="10.89.23.4"

and claptrap supports multi-values:

cmd.Add("--ip...", "", "a list of IP addys")

but clapconf doesn't support putting multiple values into a multivar arg. This is because claptrap doesn't support multivar DefaultValues, and clapconf sets the DefaultValue.

This is a "deep" issue requiring changes to the claptrap API

Status
REPORTED
Submitter
~ser
Assigned to
No-one
Submitted
2 years ago
Updated
2 years ago
Labels
undesireable

~ser 2 years ago

Register here or Log in to comment, or comment via email.