def parseArgs()

in modules/core/src/main/scala/org/scalasteward/core/application/Cli.scala [381:386]


  def parseArgs(args: List[String]): ParseResult =
    command.parse(args) match {
      case Left(help) if help.errors.isEmpty => ParseResult.Help(help.toString)
      case Left(help)                        => ParseResult.Error(help.toString)
      case Right(usage)                      => ParseResult.Success(usage)
    }