Add type setting to etc/spec
BREAKING CHANGES
- Add new
type
field toetc/spec
with support forstring
,number
,
bool
,[string]
,[number]
and[bool]
,[object]
- Remove
type
field incli
spec in favor oftype
onetc/spec
- Allow ENV vars to accept supported types (only strings were allowed) (closes #30)
- Allow CLI options to accept supported types (only strings and numbers were allowed)
- Allow spec file to have array as default values
- Return a warning and an empty config whenever configuration files contain
entries not defined in the spec (closes #26)