dhall-1.24.0: A configuration language guaranteed to terminate

Safe HaskellNone
LanguageHaskell2010

Dhall.Format

Contents

Description

This module contains the implementation of the dhall format subcommand

Synopsis

Format

data Format Source #

Arguments to the format subcommand

data FormatMode Source #

The format subcommand can either Modify its input or simply Check that the input is already formatted

Constructors

Modify 

Fields

  • inplace :: Maybe FilePath

    Modify file in-place if present, otherwise read from stdin and write to stdout

Check 

Fields

format :: Format -> IO () Source #

Implementation of the dhall format subcommand