Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pablf committed Aug 22, 2023
1 parent 6df9236 commit 52135b5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ object CliAssertionSpec extends ZIOSpecDefault {
suite("Access methods")(
test("accessCommand") {

/*def equal(command: Command[_]): Boolean = {
println(command.toString())
println(Command("command", Options.text("opt1")).toString())
command.toString() == Command("command", Options.text("opt1")).toString()
}*/

val assertion: Assertion[Command[_]] =
Assertion(TestArrow.fromFunction { case command =>
command.names.contains("command")
Expand Down
6 changes: 0 additions & 6 deletions zio-cli/shared/src/main/scala/zio/cli/CliApp.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ sealed trait CliApp[-R, +E, +A] { self =>

def config(newConfig: CliConfig): CliApp[R, E, A]

/* def clean: CliApp[Any, Nothing, Unit] =
self match {
case CliApp.CliAppImpl(name, version, summary, command, execute, footer, config, figFont) =>
CliApp.CliAppImpl(name, version, summary, command, _ => ZIO.unit, footer, config, figFont)
}*/

final def map[B](f: A => B): CliApp[R, E, B] =
self match {
case CliApp.CliAppImpl(name, version, summary, command, execute, footer, config, figFont) =>
Expand Down

0 comments on commit 52135b5

Please sign in to comment.