Replies: 1 comment 2 replies
-
I think the same thing could be archived adding the repo name by using $REPOSITORY and piping the output through a script that is splitting it. But I would absolutely accept a PR if you want to implement this within multi-gitter |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks for this very useful piece of code. It has been very helpful.
I'm using it to gather data from multiple repos and then concat the result using the
print
sub command.The problem is that the resulting file is getting too big for efficient processing
A solution would be to allow templating in the
output
flag that way such a use case would be possible:multi-gitter print report.sh -o myorg --output "./results/{{ .REPOSITORY }}.json"
Glancing at the code base this should be doable by moving the creation of the output stream to
multi-gitter/internal/multigitter/print.go
Line 61 in 12c0422
If you don't see blockers, I will look into implementing it.
Beta Was this translation helpful? Give feedback.
All reactions