#!/usr/bin/env -S v -n -w -cg -gc none -cc tcc -d use_openssl -enable-globals run import incubaid.herolib.biz.bizmodel import incubaid.herolib.core.playbook import os heroscript_path := os.join_path(os.dir(@FILE), 'examples/complete.heroscript') // Create a new playbook with the heroscript path mut pb := playbook.new(path: heroscript_path)! // Play the bizmodel actions bizmodel.play(mut pb)! // Get the bizmodel and print it mut bm := bizmodel.get('threefold')! bm.sheet.pprint(nr_columns: 10)!