hk read
- How to hail it:
hk read - Effect: read-only (looks, never touches)
Hand hk's Pkl modules to pkl as an external module reader
pkl hails this call to read hk: modules, so yer charts can amends "hk:/Config.pkl" and import "hk:/Builtins.pkl" and get the modules of the hk aboard instead of a pinned package, with no boat sent ashore. It speaks Pkl's external reader protocol on stdin and stdout and isn't meant to be hailed by hand. Enter it in a PklProject:
evaluatorSettings {
externalModuleReaders {
["hk"] { executable = "hk"; arguments { "read" } }
}
}
or hand --external-module-reader hk='hk read' to pkl eval.
Flags to fly
-h --help— Print help, for when ye've lost yer bearings
Tales from the deck
Let pkl read hk: modules from the hk aboard this machine. pkl hails this call itself.
sh
pkl eval --external-module-reader 'hk=hk read' hk.pklFurther charts
Getting started: get under way · Troubleshooting: the ship's log · All the bosun's calls
