'How to generate a routing.ts file in a Angular Project

Is there a command for Angular CLI, wherein I can generate a routing.ts file? So far I have only researched for ng g m moduleName --routing which is not I want, because it only created module-Name-routing.module.ts. What I want is module-Name.routing.ts. Please help. Thank you



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source