File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
cli/src/main/scala/snailgun Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ import java.io.{InputStream, PrintStream}
99import java .net .ConnectException
1010import java .util .concurrent .atomic .AtomicBoolean
1111
12- object Cli extends CaseApp [CliOptions ] {
12+ object Snailgun extends CaseApp [SnailgunOptions ] {
1313 override def stopAtFirstUnrecognized = true
14- def run (options : CliOptions , args : RemainingArgs ): Unit = {
14+ def run (options : SnailgunOptions , args : RemainingArgs ): Unit = {
1515 val inOpt = if (options.hasInput) Some (System .in) else None
1616 val out = System .out
1717 val err = System .err
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import caseapp._
44
55// format: off
66@ ArgsName (" The command and arguments for the Nailgun server" )
7- final case class CliOptions (
7+ final case class SnailgunOptions (
88 @ HelpMessage (" Specify the host name of the target Nailgun server" )
99 nailgunServer : Option [String ] = None ,
1010 @ HelpMessage (" Specify the port of the target Nailgun server" )
@@ -18,7 +18,7 @@ final case class CliOptions(
1818)
1919// format: on
2020
21- object CliOptions {
22- implicit lazy val parser : Parser [CliOptions ] = Parser .derive
23- implicit lazy val help : Help [CliOptions ] = Help .derive
21+ object SnailgunOptions {
22+ implicit lazy val parser : Parser [SnailgunOptions ] = Parser .derive
23+ implicit lazy val help : Help [SnailgunOptions ] = Help .derive
2424}
You can’t perform that action at this time.
0 commit comments