I am trying to call one wlst script from another wlst script, by importing the other one. I tried the following:
domain.py
import final
final.foo()
final.py
def foo():
cd('/')
when domain.py calls foo, it fails to recognize CD('/') command as its a wlst specific. i tried importing wlst into final.py but still it didn't work