                 opts.initMode = try InitMode(value)
             case .showDepsMode(let value):
                 opts.showDepsMode = try ShowDependenciesMode(value)
+            case .inputPath(let path):
+                opts.inputPath = path
             case .outputPath(let path):
                 opts.outputPath = path
             case .chdir(let path):

private enum PackageToolFlag: Argument {
    case initMode(String)
    case showDepsMode(String)
    case outputPath(String)
    case chdir(String)
    case colorMode(ColorWrap.Mode)

            self = try .showDepsMode(forcePop())
        case "--output":
            self = try .outputPath(forcePop())
        case "--input":
            self = try .inputPath(forcePop())
        case "--verbose", "-v":
            self = .verbose(1)
        case "--color":
