- Go 1.14+
-debug_lexer: enables debug output for the lexer-debug_parser: enables debug output for the parser
mainreads the config file and parses CLI options- With the correct options
runneris called, which executes the following steps - The config file is passed through
lexer, then throughparser(with importrules as output) filefinderfinds all files related to the language detected byparser- If language is Go,
langs/golistimportstakes the file list and outputs the a map of imports per module rulecheckertakes the imports map and ruleset fromparserand checks whether all imports are validloggingtakes the program results and prints them