Support for routing component within CLI applications for url generation