config: add support for --bool and --int while setting values