         }
     }
 
-    @discardableResult func removePackage(named name: String) throws -> Package {
+    @discardableResult func removePackage(named name: String, shouldUpdatePackages: Bool = true) throws -> Package {
         print("Removing \(name)...")
 
         let packageFile = try perform(folder.file(named: name),

                                  orThrow: Error.failedToReadPackageFile(name))

        try perform(packageFile.delete(), orThrow: Error.failedToRemovePackage(name, folder))
        try updatePackages()

        return package
    }

        for package in addedPackages {
            try removePackage(named: package.name)
        }

        try updatePackages()
    }

    func makePackageDescription(for script: Script) throws -> String {
