Add default values to the CLI

This commit is contained in:
1Computer1 2019-09-05 10:17:20 -04:00
parent c31b52ce5e
commit 66b125bc80

View file

@ -20,12 +20,16 @@ parseArgs = execParser $ info (helper <*> args) (fullDesc <> progDesc "Run the M
, short 'c'
, help "Set the Dhall configuration"
, metavar "DHALL"
, value "./config.dhall"
, showDefault
])
<*> option str (mconcat
[ long "languages"
, short 'l'
, help "Set the languages directory"
, metavar "DIR"
, value "./languages/"
, showDefault
])
main :: IO ()