CLI: Allow single output template#5882
Conversation
|
Surge PR preview deployment was removed |
|
As there is already a way to achieve this without any unusual workaround, the FR would be a no fix for me. Especially as we would need to add similar functions to all other commands for consistency again. |
|
Can you explain why adding this as additional output format is bad? Yes this would need to be added to all other cli commands. However, we could move this to an output package to avoid code duplication but I dont see why we should not add it at all. |
|
@anbraten are you still against this change? Or can we continue and merge this? |
|
I'm still not quite convinded that it's worth the code as you can already achieve the same formatting. And writing |
|
I also don't really think it's a big issue, but I can understand it… I mainly opened this PR to fix the issue, not because I need it. So from my side we can also close the issue as wontfix. But I also don't think adding this hurts. |
|
We maintain dead code (e.g. encryption) and many other rarely used code and this one is pretty trivial and easy to maintain, so add it. If you dont want to I can take over to finish it. |
|
What is to finish here? From my side this was ready to merge |
|
Needs to be added to all commands that support custom outputs already. |
|
@xoxys added it for the pipelines as well. |
|
Can you please also add the test case to repo_test? |
|
@anbraten As you're the only one who's against this, can we merge this? |
closes #5841