hasql-optparse-applicative-0.8: "optparse-applicative" parsers for "hasql"
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasql.OptparseApplicative

Synopsis

Documentation

poolConfig Source #

Arguments

:: (String -> String)

Option long name modifier.

You can use this function to prefix the name or you can just specify id, if you don't want it changed.

-> Parser Config 

Given a function, which updates the long names, produces a parser of a compiled config.

poolSettings Source #

Arguments

:: (String -> String)

Option long name modifier.

You can use this function to prefix the name or you can just specify id, if you don't want it changed.

-> Parser [Setting] 

Given a function, which updates the long names, produces a parser of a list of settings, which you can extend upon or override, and compile to Config on your own.

connectionSettings Source #

Arguments

:: (String -> String)

Option long name modifier.

You can use this function to prefix the name or you can just specify id, if you don't want it changed.

-> Parser Settings 

Given a function, which updates the long names produces a parser of Hasql.Connection.Settings.