Using option parameters

How to use parameters in Python script

In Web Assembly environment, the options values can be accessed inside python code via the global dict args. For example you have defined following options with specified value:

--vendor=vendor_0000

To access this option value inside the python code you could use args.get("vendor")

A section will be put on the state "vendor_0000".

Last updated