- export keyword generate reports into diferents formats:
Example
play do
show
export format: :txt
export format: :html
export format: :json
end
show
, show process on screen.export format: :txt
, create reports withtxt
format.export format: :html
, create reports withhtml
format.export format: :json
, create reports withjson
format.
Firs run teuton examples/11-export
, then we have:
❯ tree var/11-export
var/11-export
├── case-01.html
├── case-01.json
├── case-01.txt
├── moodle.csv
├── resume.html
├── resume.json
└── resume.txt