1.0.3 • Published 1 year ago

dir2dir v1.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
1 year ago

dir2dir

Copy a directory to a renamed directory while renaming matching child files

Purpose

I use to clone a web-component

For example if I run

dir2dir /directory/originalComponent /directory/newComponent

if originalComponent has the structure

/directory/originalComponent

  • originalComponent.css
  • originalComponent.html
  • originalComponent.js

this will create

/directory/newComponent

  • newComponent.css
  • newComponent.html
  • newComponent.js

Salesforce dev? It works well with LWC/s as well as

dir2dir force-app/main/default/lwc/productManager force-app/main/default/lwc/itemManager

Install

npm i -g dir2dir


written while thinking of a 🐶 by Jamie Smith

1.0.3

1 year ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago