Static code analysis from command line

So Xcode 7 and above supports static code analysis from with Xcode,is it possible to do this from the command line?

My company is currently using HP Fortify for iOS SCA. It works through the command line.

It uses the clang static analyzer, which is a command line tool. Check out http://clang-analyzer.llvm.org/

Static code analysis from command line
 
 
Q