  We present scg-cli, a~command line tool facilitating software comprehension.
The tool extracts semantic information about code structure and dependencies
from the Java and Scala projects, and structures it as a~Semantic Code Graph
(SCG), an information model underlying scg-cli. The SCG data, once written into
a~portable, open protobuf-based format, can be used by the scg-cli command line
tool to obtain project metrics, find the most critical code entities, and
compute project partitionings. The results of this analysis and the SCG data
can be exported for further investigation by external tools such as Gephi
software (visualization) and, notably, as a Jupyter Notebook environment with
helper APIs to enable advanced analysis of the project using data analytics
methods. We explain functionalities of the scg-cli tool and demonstrate its
capabilities by showing an example analysis of an open-source Java project
commons-io.
