Skip to content

Tutorial: Document importstr #371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fluffysquirrels opened this issue Sep 18, 2017 · 5 comments
Closed

Tutorial: Document importstr #371

fluffysquirrels opened this issue Sep 18, 2017 · 5 comments

Comments

@fluffysquirrels
Copy link

My use case is some certificate and private key files that are direct output from openssl, which I'd like to package up with the rest of my configuration into a single .json file.

@fluffysquirrels
Copy link
Author

Whoops, just seen that this was #14. Any specific reason that that was closed?

@sbarzowski
Copy link
Collaborator

Any specific reason that that was closed?

Because this functionality was added in the linked change.

You can do importstr 'private_key' and it will return a string.

@sbarzowski
Copy link
Collaborator

Maybe it could be mentioned in the tutorial. It seems it's only in the specification at the moment.

@sparkprime sparkprime changed the title stdlib: Load a file as a string Tutorial: Document importstr Sep 18, 2017
@fluffysquirrels
Copy link
Author

Oh dear, double whoops! I presume it'd be useful for me to submit a PR to add importstr to the tutorial?

@sbarzowski
Copy link
Collaborator

Sure!

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

No branches or pull requests

3 participants