Skip to content

Feature Request: File module #109

Open
@andrewhamon

Description

Hey there, I've been experimenting with Skycfg and I really like it!

I was hoping to import some data from a yaml file and use that to generate some config, but it seems that the yaml module can only decode a blob of yaml. This is a bit puzzling to me - where does one get a blob of yaml in a pure starlark program with no ability to read from a file?

Anyway, maybe I'm missing something obvious, but it sure would be handy to have a file module for slurping up the bytes of a file.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions