concurrently icon indicating copy to clipboard operation
concurrently copied to clipboard

Options to make sure names are the same length

Open mastilver opened this issue 6 years ago • 5 comments

Would you accept a PR that adds a --min-prefix-length options?

When using wildcards command, it's harder to make sure the name are of the same size (for aesthetic reasons)

ei.

[babel] Successfully compiled 26 files with Babel.
[webpack] Compiled successfully.

Would become (using --min-prefix-length 7)

[babel  ] Successfully compiled 26 files with Babel.
[webpack] Compiled successfully.

mastilver avatar Sep 22 '18 11:09 mastilver

Yes!

But: What do you think of something stricter, like --pad-prefix*..? So concurrently automatically finds the command with the longest prefix and pads the others with spaces. Would require less maintenance for users, too.

* I'm not sure if it sounds good for native english speakers, so feel free to suggest something else!

gustavohenke avatar Sep 23 '18 14:09 gustavohenke

This would be an excellent enhancement. I have some super long service names and super short service names. Logs are super painful to traverse.

govindrai avatar Oct 27 '20 20:10 govindrai

This would be such a nice feature. Would you review potential PR for it?

ssukienn avatar Jan 11 '23 17:01 ssukienn

yes @ssukienn!

gustavohenke avatar Jan 14 '23 01:01 gustavohenke

Duplicate of #417

gustavohenke avatar Oct 17 '23 01:10 gustavohenke

🚢 This is now available in v9.0.0! https://github.com/open-cli-tools/concurrently/releases/tag/v9.0.0

gustavohenke avatar Sep 08 '24 13:09 gustavohenke