syntasso / kratix-cli

CLI-based tool to build Promises
Apache License 2.0
2 stars 2 forks source link

feat: Add title to top of the parts of the files if using the --split command #32

Open catmo-syntasso opened 4 months ago

catmo-syntasso commented 4 months ago

Currently if a user runs the --split command, the files generated are either:

  1. empty; or
  2. a direct copy of the part of the promise they represent.

To make it easier for a user to understand, and to perhaps make it easier for a tool to parse, we should add a line to the top of the yaml.

This should be true for all parts generated by the --split command which AFAIK is dependencies, api, and workflows Screenshot 2024-07-12 at 18 08 15 Screenshot 2024-07-12 at 18 06 41 Screenshot 2024-07-12 at 18 09 30