 import Get
 import PackageLoading
 import PackageGraph
-
-// FIXME: Find a home for this. Ultimately it might need access to some of the
-// options, and we might just want the SwiftTool type to become a class.
-private let sharedManifestLoader = ManifestLoader(resources: ToolDefaults())
 
 private class ToolWorkspaceDelegate: WorkspaceDelegate {
     func fetchingMissingRepositories(_ urls: Set<String>) {

    /// Run method implmentation to be overridden by subclasses.
    func runImpl() {
        fatalError("Must be implmented by subclasses")
    }

    /// The shared package graph loader.
    var manifestLoader: ManifestLoader {
        return sharedManifestLoader
    }

    /// Fetch and load the complete package at the given path.

    /// The command line arguments this tool should honor.
    let args: [String]

    /// The package graph loader.
    let manifestLoader = ManifestLoader(resources: ToolDefaults())

    public init() {
        self.args = Array(CommandLine.arguments.dropFirst())
    }
