melos icon indicating copy to clipboard operation
melos copied to clipboard

Don't require to press `Enter` after entering workflow name

Open bartekpacia opened this issue 2 years ago • 1 comments

This is a small suggestion for a QoL improvement.

$ melos run
Select a script to run in this workspace:

1) lint:all
    â””> Run all static analysis checks.
2) analyze
    â””> Run `flutter analyze` for all packages.
3) format
    â””> Run `dart format` checks for all packages.
4) test
    â””> Run `flutter test` for selected packages.


? Enter your choice 

After entering 1, the lint:all workflow doesn't start executing - instead, I have to press the Enter key. I wish it wasn't required.

(If there are than 9 workflows, the Enter would be still required).

bartekpacia avatar Aug 11 '23 07:08 bartekpacia

This behavior comes from the cli prompting library - I'm not sure if it allows configuring the enter key behavior, if you have time to figure it out though I'd happily accept & merge a PR 😄

Salakar avatar Aug 11 '23 17:08 Salakar