Closed pygoubet closed 3 years ago
Sorry, I have been meaning to test your code. Give me a few days over this holiday and I will review things. Thank you sir.
This broke steps and I had to revert the commit. One of the issues has to do with the following:
running: 3.5-4h run
- run 225:00
- cooldown: lap-button
Isn't it related to the missing ":" after the key "run"?
Yeah sorry, typo. It doesn't work with run: 225:00 either Working on a fix.
Weird, this below works with no issue
cat >test.csv<<EOF
"WEEK","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"
"1","running: 3.5-4h run
- run: 225:00
- cooldown: lap-button","","","","","",""
EOF
./bin/console garmin:workout test.csv import -n
Support of sub repeaters (repeat step in a repeat step).
Workout example:
Internally, the parsing of the workout string is facilitated by treating it as a Yaml document.