Skip to content

fix(generate): clarify first-run missing score file guidance#433

Open
SergioChan wants to merge 2 commits intoscore-spec:mainfrom
SergioChan:fix-issue-287-generate-error-msg
Open

fix(generate): clarify first-run missing score file guidance#433
SergioChan wants to merge 2 commits intoscore-spec:mainfrom
SergioChan:fix-issue-287-generate-error-msg

Conversation

@SergioChan
Copy link

Summary

  • improve the error shown when score-compose generate runs with no workloads in state
  • replace project-centric wording with explicit first-run guidance, including an example score.yaml file
  • update the related command test to match the new message

Testing

  • go test ./internal/command -run TestGenerateWithoutScoreFiles

Related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] error message is confusing if score file not included in score-compose generate

2 participants