class PlainReporter {
  prefix;
  constructor(command = "warmup") {
    this.prefix = `[wigolo ${command}]`;
  }
  write(line) {
    process.stderr.write(`${this.prefix} ${line}
`);
  }
  start(_id, label, _opts) {
    this.write(`${label}...`);
  }
  update(_id, _text) {
  }
  progress(_id, _fraction) {
  }
  success(id, detail) {
    this.write(`${id} ${detail ?? "ok"}`);
  }
  fail(id, error) {
    this.write(`${id} failed: ${error}`);
  }
  note(text) {
    this.write(text);
  }
  finish() {
  }
}
export {
  PlainReporter
};
//# sourceMappingURL=reporter.js.map