Skip to content
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

context output config #348

Open
GantMan opened this issue Feb 6, 2018 · 3 comments
Open

context output config #348

GantMan opened this issue Feb 6, 2018 · 3 comments

Comments

@GantMan
Copy link
Member

GantMan commented Feb 6, 2018

Right now you can only have gluegun print to console.

What about allowing gluegun to be configurable so anything built on GG can have CLI OR Library benefits.

context.print.stdout = true (by default)
context.print.json = true (false by default) will store all print.success, and print.error, and print.warn messages in a JSON file so this can be passed on to GUI or other apps. Accessible by context.print.jsonLog for the full log.

That's all that's requested in this issue, but possible upgrades in the future?
.xml, .file, .api the list goes on.

@jamonholmgren
Copy link
Member

I like this idea a lot. Perhaps goes with #161 as well.

@GantMan
Copy link
Member Author

GantMan commented Feb 7, 2018

Yes! Hand in hand!

@jamonholmgren
Copy link
Member

Planned for post-2.0 release.

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

2 participants