Use coerce() from cli-type.
0.0.4