import { Command } from "@oclif/core";
import { runStatusLike, sharedFlags } from "../command-helpers.mjs";

export default class DestroyCommand extends Command {
  static summary = "Destroy local testkit state";

  static enableJsonFlag = true;

  static flags = sharedFlags;

  async run() {
    const { flags } = await this.parse(DestroyCommand);
    return runStatusLike("destroy", flags);
  }
}
