DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

What is Plop?: File Generator Tool System

5 years ago dzone.com
What is Plop?: File Generator Tool System

Summary: This is a summary of an article originally published by the source. Read the full original article here →

by Plop is a file generator tool system which allows you to define a script file to generate all the boilerplate files for you. Similar in how Angular schematics works, you can define a set of actions who would generate all the pre-defined code for you either automatically or by answering to some CLI prompts. First, you will need to define a plopfile.js who would contain a function who would receive a plop object with access to all the methods to generate the code.

For example, we will create a new generator to generate all our Redux boilerplate for us.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com