counsel-copy

copy files/folders from a counsel project into a target project.

Usage no npm install needed!

<script type="module">
  import counselCopy from 'https://cdn.skypack.dev/counsel-copy';
</script>

README

counsel-copy

copy files/folders from a counsel rule project into a target project.

example

  • create your rule
'use strict'

const CopyRule = require('counsel-copy')

module.exports = new CopyRule({
  src: '/absolute/path/to/thing',
  dest: '<path>/to/thing',
  // if dest is relative, it is relative to the target
  // project's root directory.
})