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: cli.rb
    path of file: ./repos/markdownlint/lib/mdl
    
    the code of the file until where you have to start completion: require 'mixlib/cli'
require 'pathname'

module MarkdownLint
  # Our Mixlib::CLI class
  class CLI
    include Mixlib::CLI

    CONFIG_FILE = '.
    
    def self.toggle_list(parts, to_sym = false)
      parts = parts.split(',') if parts.instance_of?(String)
      if parts.instance_of?(Array)
        inc = parts.reject { |p| p.start_with?('~') }
        exc = parts.select { |p| p.start_with?('~') }.map { |p| p[1..] }
        if to_sym
          inc.map!(&:to_sym)
          exc.map!(&:to_sym)
        end