1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 10:03:22 +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 {..}