blob: fb79f0e194e957ec39c4d8782df0ad778a9ed3c6 [file] [log] [blame]
// Copyright 2022 Google LLC
//
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package interfaces
// QueryCommand defines an interface for returning the response of a
// Bazel cquery call.
type QueryCommand interface {
// Read will return the response data for a `bazel cquery ...`
// invocation.
Read() ([]byte, error)
}