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

export default class CleanupCommand extends Command {
  static summary = "Clean stale local testkit state";

  static enableJsonFlag = true;

  static flags = sharedFlags;

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