Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
Default | |
Version | |
Resolve | |
| |
Type | |
| |
Normalize | |
Repl | |
Format | |
| |
Freeze | |
| |
Hash | |
Diff | |
Lint | |
| |
Tags | |
Encode | |
Decode | |
Text | |
DirectoryTree | |
SyntaxTree | |
parserInfoOptions :: ParserInfo Options Source #
ParserInfo
for the Options
type