hedgehog-extras-0.4.0.1: Supplemental library for hedgehog
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hedgehog.Extras.Internal.Cli

Synopsis

Documentation

argQuote :: String -> String Source #

Format argument for a shell CLI command.

This includes automatically embedding string in double quotes if necessary, including any necessary escaping.

Note, this function does not cover all the edge cases for shell processing, so avoid use in production code.