public void Remove(string commandName) { var commandFileName = commandName + (RuntimeEnvironmentHelper.IsWindows ? ".cmd" : string.Empty); _commands.Remove(commandName); _commandsFolder.DeleteFile(commandFileName); }
public void Remove(string commandName) { string commandFileName = commandName + (PlatformHelper.IsWindows ? ".cmd" : string.Empty); _commands.Remove(commandName); _commandsFolder.DeleteFile(commandFileName); }