open-cli-tools / concurrently

Run commands concurrently. Like `npm run watch-js & npm run watch-less` but better.
https://www.npmjs.com/package/concurrently
MIT License
7.11k stars 231 forks source link

feat: add shorthand `conc` #358

Closed kecrily closed 2 years ago

kecrily commented 2 years ago

concurrently is too long, which makes it unfriendly to non-English users and tiresome to type, which discourages potential users.

It simplifies the multiple-entry command &&, but not in the command line name. Let's add a shorthand to simplify it. Use conc shorthand

coveralls commented 2 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 6e029524dd1ea5e9b54df3063cf4c599224058e1 on kecrily:feat/shorthand into 71e1c566acaa590d67b900a6cd398834474a1f57 on open-cli-tools:main.

paescuj commented 2 years ago

Thank you @kecrily for your contribution! I like this idea! 👍

ToDo's:

paescuj commented 2 years ago

@kecrily Would you like to work on the ToDo's mentioned above?

kecrily commented 2 years ago

I have updated the documentation and verified it.

paescuj commented 2 years ago

@gustavohenke Do you think we need to adjust something else? Also before merging this we should make sure the chosen alias fits well in the long term. For example, cncr (official abbreviation of "concurrent") would be another possibility, although I think conc is easier to remember. Any other ideas?

paescuj commented 2 years ago

Thanks for your feedback @gustavohenke!

Let's go with conc as it clearly shows that it belongs to concurrently.

I'm on limited computer time for a couple more weeks, so one thing I'd like to know is whether any alias will conflict with other popular/native OS tools.

That's a good point! conc doesn't seem to conflict with other tools neither on Linux (checked with Ubuntu) nor on Windows (checked in PS, cmd & Google) and macOS (terminal, Homebrew). Also couldn't find another module on NPM which provides a command named conc.

Also fwiw, concurrently used to have a concurrent alias back before v4: 7383eca

Interesting 😄

paescuj commented 2 years ago

@gustavohenke Could you publish a new version as soon as you have time?

gustavohenke commented 2 years ago

Published as v7.4.0!