stack-2.14.0: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Options.GlobalParser

Description

Functions to parse Stack's 'global' command line arguments.

Synopsis

Documentation

globalOptsFromMonoid :: MonadIO m => Bool -> GlobalOptsMonoid -> m GlobalOpts Source #

Create GlobalOpts from GlobalOptsMonoid.

globalOptsParser :: FilePath -> GlobalOptsContext -> Parser GlobalOptsMonoid Source #

Parser for global command-line options.