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