1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-21 13:51:38 +03:00
juvix/app/Commands/Dev/Casm/Read/Options.hs

16 lines
359 B
Haskell
Raw Normal View History

module Commands.Dev.Casm.Read.Options where
import CommonOptions
newtype CasmReadOptions = CasmReadOptions
{ _casmReadInputFile :: AppPath File
}
deriving stock (Data)
makeLenses ''CasmReadOptions
parseCasmReadOptions :: Parser CasmReadOptions
parseCasmReadOptions = do
_casmReadInputFile <- parseInputFile FileExtCasm
pure CasmReadOptions {..}