What is the best file format for configuration file? Like A Duck ( @likeaduck@programming.dev ) Technology@lemmy.ml • 1 year ago message-square26fedilinkarrow-up129
arrow-up129message-squareWhat is the best file format for configuration file? Like A Duck ( @likeaduck@programming.dev ) Technology@lemmy.ml • 1 year ago message-square26fedilink
minus-square Papamousse ( @Frederic@beehaw.org ) linkfedilinkEnglish5•1 year agoI’d say a file that you can open with a simple text editor is convenient, so it can be a simple .conf/.ini, more complex are .xml/.yaml that you can still edit in vim/nano but can be cumbersome. But as others say, it all depends on your app…
minus-square notthebees ( @notthebees@reddthat.com ) linkfedilink2•1 year agoToml is about the same as ini files at least with what I’ve worked with
I’d say a file that you can open with a simple text editor is convenient, so it can be a simple .conf/.ini, more complex are .xml/.yaml that you can still edit in vim/nano but can be cumbersome.
But as others say, it all depends on your app…
Toml is about the same as ini files at least with what I’ve worked with