code: def complete_option(commandline_processor, execution_target)
        all_switches = @switches_definition.select { |definition| definition.is_a?(Array) }.map { |definition| definition[1][/^--\S+/] }
  
        matching_switches = all_switches.select { |switch| switch.start_with?(commandline_processor.completing_word_prefix) }
  
        output_entries(matching_switches)
      end
docs: Completion!