Safe Haskell | None |
---|
- data ApplyTTreeArgs = ApplyTTreeArgs {
- applyToShowContext :: Bool
- applyToShowAnsiColored :: Bool
- defaultApplyTTreeArgs :: ApplyTTreeArgs
- testModeApplyTTree :: ApplyTTreeArgs -> IO String
Documentation
data ApplyTTreeArgs Source
This type is used to have influence on the processing of testModeApplyTTree. It is possible to activate ANSI color escape sequences for the text or to enable the printing of the file context.
ApplyTTreeArgs | |
|
defaultApplyTTreeArgs :: ApplyTTreeArgsSource
These are the default options used for this mode. libhbb-cli only uses these default settings.
testModeApplyTTree :: ApplyTTreeArgs -> IO StringSource
This function reads a transformation-tree serialized to JSON from standard input and applies it which means that it converts it to text. After having it applied the text is returned as one single string.