fb-add-template

1.0.4 • Public • Published

fb-add-template

a template constructor cli

usage

usage: add-template <template-name>

template example

.template
  <template-name>
    .meta.(json|js)
    <template-files>

.meta file

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

Readme

Keywords

none

Package Sidebar

Install

npm i fb-add-template

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

135 kB

Total Files

3

Last publish

Collaborators

  • iansenne