a template constructor cli
usage: add-template <template-name>
.template
<template-name>
.meta.(json|js)
<template-files>
interface MetaFile {
insertAt: string;
files: string[];
postCreationActions?: string[];
prompts: Array<prompts.PromptObject>;
defaultPlaceholders?: Record<string, any>;
}
you can find prompts at https://www.npmjs.com/package/prompts