Skip to content

Commit

Permalink
Add --version CLI flag (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
b-studios authored Aug 27, 2024
2 parents 8905a16 + 2fae227 commit f2152e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions effekt/jvm/src/main/scala/effekt/EffektConfig.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import kiama.util.REPLConfig
import org.rogach.scallop.{ ScallopOption, fileConverter, fileListConverter, longConverter, stringConverter, stringListConverter }

class EffektConfig(args: Seq[String]) extends REPLConfig(args.takeWhile(_ != "--")) {
// Print version information on `--version` and `--help`
version(s"Effekt ${effekt.util.Version.effektVersion}")

// Common
// ------
Expand Down

0 comments on commit f2152e2

Please sign in to comment.