"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const BaseCommand_1 = require("../../BaseCommand");
const core_1 = require("@oclif/core");
class ListArchive extends BaseCommand_1.BaseCommand {
    async run() {
        await this.client.lists.updateList({
            id: this.flags.id,
            closed: true,
        });
    }
}
ListArchive.description = "Archive a list";
ListArchive.flags = {
    id: core_1.Flags.string({ required: true }),
};
exports.default = ListArchive;
