Add `charmcraft fmt` command
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
It could be handy if charmcraft had an `fmt` command to apply a set of opinionated formatting choices.
For example:
- Sort metadata.yaml sections in a particular order, e.g. name - assumes - summary - description - ...
- One line gap between each main section and no gaps anywhere else
- actions.yaml and config.yaml entries sorted alphabetically
- charmcraft.yaml: bases before parts; parts sorted by order of business.
- etc.
Evaluation history
No evaluation history available.