mirror of
https://github.com/anoma/juvix.git
synced 2024-12-13 19:49:20 +03:00
15 lines
296 B
Haskell
15 lines
296 B
Haskell
|
module Commands.Repl.Options where
|
||
|
|
||
|
import CommonOptions
|
||
|
|
||
|
newtype ReplOptions = ReplOptions
|
||
|
{_replInputFile :: Maybe Path}
|
||
|
deriving stock (Data)
|
||
|
|
||
|
makeLenses ''ReplOptions
|
||
|
|
||
|
parseRepl :: Parser ReplOptions
|
||
|
parseRepl = do
|
||
|
_replInputFile <- optional parseInputJuvixFile
|
||
|
pure ReplOptions {..}
|