You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: framework.rb
    path of file: ./repos/arachni/ui/cli
    
    the code of the file until where you have to start completion: =begin
    Copyright 2010-2022 Ecsypno <http://www.ecsypno.com>

    This file is part of the Arachni Framework project and is subject to
    redistribution and commercial restrictions. Please see the Arachni Framework
    web site for more information on licensing and terms of use.
=end

require_relative '../../lib/arachni'
require_relative 'framework/option_parser'
require_relative 'utilities'

module Arachni
module UI::CLI

# Provides a 
    
    def suspend
        @cleanup_handler = Thread.new do
            exception_jail do
                @framework.suspend

                hide_command_screen
                clear_screen

                capture_output_options

                generate_reports

                filesize = (File.size( @framework.snapshot_path ).to_f / 2**20).round(2)
                print_info "Snapshot saved at: #{@framework.snapshot_path} [#{filesize}MB]"

                print_line
            end
        end
    end