OpenVoiceOS / ovos-skills-info

Skill information parser support skill
Apache License 2.0
0 stars 1 forks source link

use readme_to_json #1

Open JarbasAl opened 3 years ago

JarbasAl commented 3 years ago

ovos_skill_manager includes a nice utility to parse readmes called readme_to_json

https://github.com/OpenVoiceOS/ovos_skill_manager/blob/master/ovos_skills_manager/utils.py#L2

it should be used in this skill to avoid duplicated logic, i see there are some regex rules in here that might be worth considering porting into the util method ?

JarbasAl commented 3 years ago

maybe the local appstore could be used also? it provides SkillEntry objects in case those are easier to work with

https://github.com/OpenVoiceOS/ovos_skill_manager/blob/master/ovos_skills_manager/appstores/local.py