| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Dhall.Main
Description
This module contains the top-level entrypoint and options parsing for the
dhall executable
Synopsis
- data Options = Options {}
- data Mode
- = Default { }
- | Version
- | Resolve {
- file :: Input
- resolveMode :: Maybe ResolveMode
- semanticCacheMode :: SemanticCacheMode
- | Type { }
- | Normalize { }
- | Repl
- | Format {
- input :: Input
- outputMode :: OutputMode
- | Freeze {
- input :: Input
- all_ :: Bool
- cache :: Bool
- outputMode :: OutputMode
- | Hash { }
- | Diff { }
- | Lint {
- input :: Input
- outputMode :: OutputMode
- | Tags { }
- | Encode { }
- | Decode { }
- | Text { }
- | DirectoryTree { }
- | SyntaxTree { }
- parseOptions :: Parser Options
- parserInfoOptions :: ParserInfo Options
- command :: Options -> IO ()
- main :: IO ()
Options
Top-level program options
The subcommands for the dhall executable
Constructors
| Default | |
| Version | |
| Resolve | |
Fields
| |
| Type | |
Fields
| |
| Normalize | |
| Repl | |
| Format | |
Fields
| |
| Freeze | |
Fields
| |
| Hash | |
| Diff | |
| Lint | |
Fields
| |
| Tags | |
| Encode | |
| Decode | |
| Text | |
| DirectoryTree | |
| SyntaxTree | |
parserInfoOptions :: ParserInfo Options Source #
ParserInfo for the Options type