[enh] allows actions.toml #744
json is boring to write and we've discovered toml as a better replacement for humans so after doing this for config panel, allow this for actions.
Manifest is next to come.
There is a problem charly.
Debian being debian, python-toml is version 0.9 here, this mean that this kind of super handy shorthand isn't parsed with the version 0.9 (but is with the version 0.10 which is available on pypi):
description.en = "le anglish" description.fr = "the frounce"
And there is not python-toml version 0.10 in testing or unstable.
This is really annoying.
Ideally I guess we need to ship it ourselves but I really wasn't expecting this additional work.
We can still write things like although:
[description] en = "le anglish" fr = "the frounce"
But in subcategories it's a bit annoying:
[this_is_an_actions.arguments.argument_one] name = "plop" # stuff needs to be before there [this_is_an_actions.arguments.argument_one.ask] en = "le anglish" fr = "the frounce"
Tested and working, python tells me that json and toml versions are identic.
How to test