Can doctl maintain formatting AND items order in my existing Yaml App Spec file?

This command:

doctl app spec get <id> > <file.yml>

…overrode all formatting AND the order of identifiers, which made it less readable. It was a bit of surprise especially taking into account that I created the app by supplying a yml file and not through UI.

Could you please improve the doctl app spect get command to try its best to maintain the existing formatting, AND, more importantly, the order of identifiers.

User input is gold, please alter it as little as possible and only when absolutely needed, like in this example :) What do you think?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@ReWild This is great feedback — definitely agree with you. We’ll discuss internally and follow-up when we have more to share.