I am in the process of building a plugin that has a controller that accepts a HTTP request. If the token and request are valid, I would like to call a Craft Console Command from within the plugin (e.g.
The equivalent would be using the CLI for call the command
./craft gc/run but from a controller.
How would I call the command from my plugins HTTP controller?