Streamline the creation of new reusable components and blocks for your learning platform. This CLI tool eliminates the need for manual file creation, minimizes errors, and maintains consistency across your project. Perfect for speeding up development and keeping the codebase clean.
steps
- generate 3 empty files [blockname].ts , admin.[blockname].ts , [blockname].readme into a [blockname] folder.
- either set the folder to be injected into the default path for my project or ask the user for a new path.
- create a documentation for how the content of these 3 files should be structured.
- use chatGpt to generate the content for the 3 files.
- publish to github packages.