"use strict";
const path = require("path");
class PreUninstallCommand {
    constructor($fs, $childProcess, $logger, $options) {
        this.$fs = $fs;
        this.$childProcess = $childProcess;
        this.$logger = $logger;
        this.$options = $options;
        this.disableAnalytics = true;
        this.allowedParameters = [];
    }
    execute(args) {
        return (() => {
            this.$fs.deleteFile(path.join(this.$options.profileDir, "KillSwitches", "cli")).wait();
        }).future()();
    }
}
exports.PreUninstallCommand = PreUninstallCommand;
$injector.registerCommand("dev-preuninstall", PreUninstallCommand);
