DHALL(1)
π DHALL π
okay so bestie, welcome to the dhall manual page, section 1 β the command-line interface to the Dhall language, which is, and I cannot stress this enough, a programmable configuration language. yes. a config language that is also a whole programming language. she contains multitudes π
β¨ NAME β¨
dhall β a programmable configuration language π¦
πΈ DESCRIPTION πΈ
dhall is the command-line interface to the Dhall language. that's it, that's the vibe β everything you can do with Dhall from a terminal goes through this one binary. main character energy, honestly. π
π SYNOPSIS π
dhall --file check.dhall
dhall --file error.dhall --explain
dhall hash --file to-hash.dhall
dhall freeze --file with-imports.dhall
dhall repl
dhall diff './file1.dhallβ './file2.dhallβ
dhall type --quiet --file check-ci.dhall
look at her go π every one of those is a real thing you can literally type right now. no cap.
π§ SUBCOMMANDS π§
versionβ Display version informationresolveβ Resolve importstypeβ Infer type of expressionnormalizeβ Normalize an expressionreplβ Open a REPLdiffβ Show difference between two expressionshashβ Compute hash of expressionlintβ Lint an expression, removing dead codetagsβ Generate etags (Emacs) fileformatβ Format an expressionfreezeβ Add hashes to import statementsencodeβ Encode a Dhall expression (CBOR)decodeβ Decode a Dhall expressiontextβ Render a Dhall expression to textto-directory-treeβ Convert nested record ofTextinto a directory
fifteen subcommands and not a single flop among them π to-directory-tree is lowkey the sleeper hit, turning a nested record of Text into an actual directory on disk. iconic behaviour.
π OPTIONS π
-h,--helpβ Display help--fileβ Name of file containing Dhall source--outputβ Output file--annotateβ Add type annotation to output--alphaβ alpha-normalize output--no-cacheβ Don't use cache to resolve imports--explainβ Explain error messages in detail--versionβ Display version information--plainβ Disable syntax highlighting in output--asciiβ Format code using only ASCII syntax--censorβ Hide source code from error messages
bestie listen β if you're about to pipedhalloutput somewhere,<yellow>--plain</yellow>is your bestie. no syntax highlighting, just clean text. and<yellow>--censor</yellow>will hide your source code from error messages, which, if you're pasting errors into a public issue... yeah. do that. π«Ά
π EDITOR INTEGRATION π
Up-to-date information on editor integration is available at:
https://docs.dhall-lang.org/howtos/Text-Editor-Configuration.html
go make your editor slay, bestie, the docs are right there β¨
π BUGS π
Please report any bugs you may come across to https://github.com/dhall-lang/dhall-haskell/issues.
like, actually report them though. don't just suffer in silence. the maintainers want to know π
and that's the whole page!! we made it. the footer just says dhall (1)() again with no version and no date on it, so consider this your cute little sign-off instead: go forth and configure things programmatically, bestie ππβ¨
π¦ where this page comes from
- fedora 43: dhall 1.42.2-3.fc43 Β· BSD-3-Clause
- fedora 44: dhall 1.42.3-1.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms