diff --git a/.hlint.yaml b/.hlint.yaml index dddcf42..9f2012e 100644 --- a/.hlint.yaml +++ b/.hlint.yaml @@ -18,7 +18,6 @@ - { name: Data.Text, as: T } - { name: Data.Text.Lazy, as: TL } - { name: Data.Text.Encoding, as: TE } - - { name: Zamazingo.Meta, as: Z.Meta, importStyle: qualified, asRequired: true } - { name: Zamazingo.Text, as: Z.Text, importStyle: qualified, asRequired: true } - { name: Data.Text.IO, as: TIO } - { name: Options.Applicative, as: OA } diff --git a/src/Hebele/Cli.hs b/src/Hebele/Cli.hs index d3457bc..d87c1c7 100644 --- a/src/Hebele/Cli.hs +++ b/src/Hebele/Cli.hs @@ -7,9 +7,9 @@ import Control.Applicative ((<**>), (<|>)) import Control.Monad (join) import qualified Data.Text as T import qualified Data.Text.IO as TIO +import qualified Hebele.Meta as Meta import qualified Options.Applicative as OA import System.Exit (ExitCode (..)) -import qualified Zamazingo.Meta as Z.Meta -- * Entrypoint @@ -87,7 +87,7 @@ doFarewell n = do -- | Version option parser. infoOptVersion :: OA.Parser (a -> a) infoOptVersion = - OA.infoOption Z.Meta.versionString $ + OA.infoOption Meta.versionString $ OA.short 'v' <> OA.long "version" <> OA.help "Show application version and exit" @@ -96,7 +96,7 @@ infoOptVersion = -- | Header 'OA.InfoMod'. infoModHeader :: OA.InfoMod a infoModHeader = - OA.header (T.unpack (Z.Meta.name <> " - " <> Z.Meta.title <> " v" <> Z.Meta.versionText)) + OA.header (T.unpack (Meta.name <> " - " <> Meta.title <> " v" <> Meta.versionText)) -- | Footer 'OA.InfoMod'. diff --git a/src/Zamazingo/Meta.hs b/src/Hebele/Meta.hs similarity index 96% rename from src/Zamazingo/Meta.hs rename to src/Hebele/Meta.hs index 2c2fb6e..7e3bc4a 100644 --- a/src/Zamazingo/Meta.hs +++ b/src/Hebele/Meta.hs @@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} -- | This module provides project metadata information definitions. -module Zamazingo.Meta where +module Hebele.Meta where import qualified Data.Text as T import Data.Version (Version, showVersion)