```ruby
require "goq/cinch_plugin/version"

module Goq
  class CinchPlugin
    include Cinch::Plugin

    match(/^goq (.+)/, method: :query, use_prefix: false)
    match(/^goq list/, method: :list, use_prefix: false)

    def query(m, query)
      result = `goq test #{query}`
      m.reply result
    end

    def list(m)
      list = `goq --list test`
      m.reply list
    end
  end
end
```

Use configure for specification target.
user
```ruby
require "goq/cinch_plugin/version"

module Goq
  class CinchPlugin
    include Cinch::Plugin

    match(/^goq (.+)/, method: :query, use_prefix: false)
    match(/^goq list/, method: :list, use_prefix: false)

    def query(m, query)
      result = `goq #{config[:target]} #{query}`
      m.reply result
    end

    def list(m)
      list = `goq --list #{config[:target]}`
      m.reply list
    end
  end
end
```
assistant