Given flags like --port=3000 --dev, produce a typed object with correct value types using template literal types.