Angular
Angular CLI Basics - ng generate guard

ng generate guard Conclusion

PRO

In this section, we learned how to generate guards using the CLI. If you have any questions, check out the docs!