add API to case to get modules output dir