Trying to create a Link in an Template in CLI Context should provide a helpful exception
If you try to render a FluidTemplate with a link in it through a
CommandController it fails currently with this error:
Uncaught Exception Could not resolve a route and its corresponding URI for the given parameters. This may be due to referring to a not existing package / controller / action while building a link or URI. Refer to log and check the backtrace for more details.
This happens, because the router isn't configured by default in the
cli context and needs to be configured manually.
We should provide a more helpful exception here to tell the dev what
he needs to do