stack-1.7.1: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Options.Applicative.Args

Description

Accepting arguments to be passed through to a sub-process.

Synopsis

Documentation

argsArgument :: Mod ArgumentFields [String] -> Parser [String] Source #

An argument which accepts a list of arguments e.g. --ghc-options="-X P.hs "this"".

argsOption :: Mod OptionFields [String] -> Parser [String] Source #

An option which accepts a list of arguments e.g. --ghc-options="-X P.hs "this"".

cmdOption :: Mod OptionFields (String, [String]) -> Parser (String, [String]) Source #

An option which accepts a command and a list of arguments e.g. --exec "echo hello world"