You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mark that as a template. Then, run cfg new entry-addr entry-addr-local.json. You'll see the output does not preserve spacing. Also, the fields are sorted alphabetically.
Is there a reason why you'd want to support this? As long as the output format is nice it shouldn't matter to the user, could functionally be a beautifier for a lot of dirty settings. Comments may be useful to preserve though
I feel like theres use cases of config files where you have your config file setup so that things are ordered in a certain way so its easier to read or for grouping.
Example
Template:
Mark that as a template. Then, run
cfg new entry-addr entry-addr-local.json
. You'll see the output does not preserve spacing. Also, the fields are sorted alphabetically.The text was updated successfully, but these errors were encountered: