add --print-wokwi-id flag for use in testbench

This commit is contained in:
Uri Shaked
2023-03-02 18:49:30 +02:00
parent 9246dd85cd
commit c6239b038b
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -10,6 +10,10 @@ def load_yaml(args):
return (yaml.safe_load(stream))
def print_wokwi_id(yaml):
print(yaml['project']['wokwi_id'])
def create_user_config(yaml):
logging.info("creating include file")
sources = get_project_source(yaml)