{-# LANGUAGE QuasiQuotes #-}

module Version
  ( displayVersion,
  )
where

import Data.Version (showVersion)
import Paths_krank (version)
import PyF (fmt)

getVersion :: String
getVersion :: String
getVersion = Version -> String
showVersion Version
version

displayVersion :: String
displayVersion :: String
displayVersion = [fmt|Krank {getVersion}|]