What's the syntax of drush generate --answers argument? So I am trying to automate theme creation using drush.
There is no documentation on how to fill the --answers argument there 
https://drushcommands.com/drush-9x/core/generate/

I have tried:

drush generate theme --answers='{"Theme name":"test", "Theme machine name":"test", "Base theme":"Classy"}'


to no avail:(
Finally found it: 

drush generate theme --directory themes/custom --answers '{"name": "test", "machine_name": "test", "base_theme": "Classy"}'


in the absence of documentation, you'll find the needed json keys in the sources of drush code generator:

/sources/vendor/chi-teck/drupal-code-generator/src/Command/Drupal_8/Theme.php


in the "interact" method