openllb / hlb

A developer-first language to build and test any software efficiently
https://openllb.github.io/hlb/
Apache License 2.0
108 stars 12 forks source link

Refactor to allow extension of module uris #311

Closed hinshun closed 2 years ago

hinshun commented 2 years ago

Stdin handling

❯ hlb run -
fs default() {
    image "alpine"
}
#1 resolve image config for docker.io/library/alpine:latest
#1 DONE 0.4s

#2 docker-image://docker.io/library/alpine:latest
#2 CACHED

Use Ctrl+D to terminate stdin input.

❯ echo 'fs default() { image "alpine" }' | hlb run -
#1 resolve image config for docker.io/library/alpine:latest
#1 DONE 0.4s

#2 docker-image://docker.io/library/alpine:latest
#2 CACHED