stack-3.3.1: The Haskell Tool Stack
Safe HaskellNone
LanguageGHC2021

Stack.CLI

Synopsis

Documentation

commandLineHandler Source #

Arguments

:: FilePath 
-> String

The name of the current Stack executable, as it was invoked.

-> Maybe (Path Abs File)

The path to the current Stack executable, if the operating system provides a reliable way to determine it and where a result was available.

-> Bool 
-> IO (GlobalOptsMonoid, RIO Runner ()) 

Stack's command line handler.