This is the API documentation for --main.