Closed as not planned
Description
Is your feature request related to a problem?
Currently, we can't run the gen-api command in the same folder as we have the config, and our config has a different name.
For the built-in start/build command in Docusaurus we therefore use the above-mentioned arguments.
Describe the solution you'd like
Would be nice to pass the siteDir
and config
option to the gen-api command as well