score-compose
score-compose copied to clipboard
[bug] error message is confusing if score file not included in score-compose generate
Describe the bug
The error message when running score-compose generate is misleading. It states:
Error: the project is empty, please provide a score file to generate fro
This is confusing because this only happens the first time your run score-compose generate. The user probably does not know about "projects" or that there is a project missing.
To Reproduce Steps to reproduce the behavior: In a new directory run:
score-compose initscore-compose generateError message will include:
Error: the project is empty, please provide a score file to generate from
Expected behavior The error should describe more clearly what needs to be done:
Please specify a score file for the first time
Or maybe even better: if there is a file called score.yaml in the current directory - ask if this score file should be used.
Hi @chris-stephenson can I work on this issue ?