@milkmaccya2/hostswitch
Version:
A simple CLI tool to manage and switch between multiple hosts file profiles for different development environments
16 lines • 480 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SwitchProfileCommand = void 0;
class SwitchProfileCommand {
facade;
profileName;
constructor(facade, profileName) {
this.facade = facade;
this.profileName = profileName;
}
async execute() {
return this.facade.switchProfile(this.profileName);
}
}
exports.SwitchProfileCommand = SwitchProfileCommand;
//# sourceMappingURL=SwitchProfileCommand.js.map