BilelJegham / metamorphe

Transform project using templates using a simple CLI and git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Metamorphe 🧙‍♂️

Version License: MIT

Don't forget to give a ⭐️ if this project helped you!

Transform project using templates using a simple CLI and git. Useful for front project which changes their appearance.

Install

# NPX 
npx metamorphe
# or install globally
npm -g metamorphe

Usage

metamorphe <cmd> [args]

Commands :
  metamorphe transform <template>  Transform repo with defined template
  metamorphe save <template>       Save current repo as template

Options :
  --version  
  --help    

Made with ❤️ by BilelJegham
  1. Define folder templates were template are located
  2. Change your files project and save in template metamorphe save {templateName}
  3. If you want to which to your template use metamorphe transform {templateName}

Example :

src/
  assets/
    styles.scss
  App.vue
templates/
  templateA/
    src/
      assets/
        styles.scss

Development

# Install & link dev s
npm install 
npm link .

# Build & launch
metapmorphe

# uninstall (unlink)
npm unlink .

Author

👤 BilelJegham

About

Transform project using templates using a simple CLI and git

License:MIT License


Languages

Language:JavaScript 100.0%