"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const BaseCommand_1 = require("../../BaseCommand");
const core_1 = require("@oclif/core");
class BoardDelete extends BaseCommand_1.BaseCommand {
    async run() {
        await this.client.boards.deleteBoard({
            id: this.lookups.board,
        });
        // Sync after removing a board
        await this.cache.sync();
    }
}
BoardDelete.description = "Delete a board";
BoardDelete.flags = {
    board: core_1.Flags.string({ required: true }),
};
exports.default = BoardDelete;
