parameters: ()
docstring: Entry point for analyze-build command.
docstring_summary: Entry point for analyze-build command.
docstring_tokens: Entry point for analyze - build command .
function: def analyze_build():
      """ Entry point for analyze-build command. """
  
      args = parse_args_for_analyze_build()
      # will re-assign the report directory as new output
      with report_directory(args.output, args.keep_empty) as args.output:
          # Run the analyzer against a compilation db.
          govern_analyzer_runs(args)
          # Cover report generation and bug counting.
          number_of_bugs = document(args)
          # Set exit status as it was requested.
          return number_of_bugs if args.status_bugs else 0
function_tokens: def analyze_build ( ) : args = parse_args_for_analyze_build ( ) # will re-assign the report directory as new output with report_directory ( args . output , args . keep_empty ) as args . output : # Run the analyzer against a compilation db. govern_analyzer_runs ( args ) # Cover report generation and bug counting. number_of_bugs = document ( args ) # Set exit status as it was requested. return number_of_bugs if args . status_bugs else 0