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: command.rb
    path of file: ./repos/3llo/lib/3llo
    
    the code of the file until where you have to start completion: require "3llo/command/board"
require "3llo/command/card"
require "3llo/command/list"
require "3llo/command/label
    
    def generate_suggestions(buffer, command_buffer)
      commands = {
        "board" => %w[add list select],
        "list" => %w[list add cards archive-cards],
        "card" => %w[
          list show add edit archive list-mine move
          comment comments self-assign assign
          add-checklist edit-checklist remove-checklist
          add-item edit-item remote-item check-item uncheck-item add-label
        ],
        "label" => %w[list add edit remove],
        "help" => [],
        "exit" => []
      }

      command, _subcommand, _args = parse_command(command_buffer)

      if commands.has_key?(command)
        subcommands = commands.fetch(command)

        subcommands
          .grep(/^#{Regexp.escape(buffer)}/)
          .reject { |suggestion| suggestion == buffer }
      else
        commands.keys.grep(/^#{Regexp.escape(buffer)}/)
      end