Add default values to the CLI
This commit is contained in:
parent
c31b52ce5e
commit
66b125bc80
1 changed files with 4 additions and 0 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Reference in a new issue