Args: remove getOutDir
Analyze: generalize type of analyzePackages
Deps: generalize type of generateDeps