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

Pretty printing build info #25

Open
jfcameron opened this issue Jul 7, 2018 · 0 comments
Open

Pretty printing build info #25

jfcameron opened this issue Jul 7, 2018 · 0 comments

Comments

@jfcameron
Copy link

Feature suggestion

Purpose:
to conveniently print build info fields to standard out, to file, render as JSON and send over network etc.

Implementation:
static public function "Pretty Print" with lambda parameter of form: (final Field[]) -> void.
Lambda allows for user-defined print behaviour.
Additionally offer 1 overload: parameterless, which simply writes all fields to standard out as "${field.name}: ${field.value}\n"...

jfcameron added a commit to jfcameron/gradle-buildconfig-plugin that referenced this issue Jul 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant