Like A Duck ( likeaduck@programming.dev ) to Technology@lemmy.ml · 3 years agoWhat is the best file format for configuration file?message-squaremessage-square26linkfedilinkarrow-up129file-text
arrow-up129message-squareWhat is the best file format for configuration file?Like A Duck ( likeaduck@programming.dev ) to Technology@lemmy.ml · 3 years agomessage-square26linkfedilinkfile-text
minus-squarePapamousse ( Frederic@beehaw.org ) linkfedilinkEnglisharrow-up5·3 years 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-squarenotthebees ( notthebees@reddthat.com ) linkfedilinkarrow-up2·3 years 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