You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
grammarinator-generate is basically a CLI wrapper utilizing the GeneratorTool module. If you would like to invoke grammarinator-generate from a Python script, then you can do it as with any other executable, e.g., with using subprocess.run.
However, if your goal is to avoid starting a subprocess and use Grammarinator from API (as the title suggests) then you should setup and instantiate GeneratorTool yourself and iteratively call its create method, just like the CLI implementation does here and here.
I would like to know how to invoke
grammarinator-generate
from a Python script. Instead of CLI.Are there any documentations or examples please?
The text was updated successfully, but these errors were encountered: