import { Args } from '@oclif/core';
import BaseCommand from '../../lib/baseCommand.js';
import ScriptDestroyer from '../../lib/scripts/scriptDestroyer.js';
export default class ScriptsDestroy extends BaseCommand {
    static args = {
        "name": Args.string({ description: 'Name of the script to remove', required: true }),
    };
    static description = 'Deletes a script';
    static descriptionGerund = 'Deleting script';
    async runImpl() {
        await new ScriptDestroyer(this.parsedArgs.name).destroy();
    }
}
