Commands\Package\PackageCommandParser.cs (5)
99internal static (string Path, AppKinds AllowedAppKinds) ProcessPathOptions(Option<string?> fileOption, Option<string?> projectOption, Argument<string>? projectOrFileArgument, ParseResult parseResult)
107? (projectOrFile, AppKinds.Any)
108: (Environment.CurrentDirectory, AppKinds.ProjectBased),
109(true, false) => (parseResult.GetValue(fileOption)!, AppKinds.FileBased),
110(false, true) => (parseResult.GetValue(projectOption)!, AppKinds.ProjectBased),