1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-22 06:11:36 +03:00
juvix/app/Commands/Dev/MiniC/Options.hs
2022-12-20 13:05:40 +01:00

16 lines
307 B
Haskell

module Commands.Dev.MiniC.Options where
import CommonOptions
newtype MiniCOptions = MiniCOptions
{ _miniCInputFile :: AppPath File
}
deriving stock (Data)
makeLenses ''MiniCOptions
parseMiniC :: Parser MiniCOptions
parseMiniC = do
_miniCInputFile <- parseInputJuvixFile
pure MiniCOptions {..}