boilerplate-extractor

This package helps extract copy files from a directory. This helps coders that write boilerplates first, before implementing use cases code.

Usage no npm install needed!

<script type="module">
  import boilerplateExtractor from 'https://cdn.skypack.dev/boilerplate-extractor';
</script>

README

Boilerplate Extractor

This is a CLI that helps extraction of files (intended to be boilerplates) and save into boilerplates folder.

  • First argument: Command - this command can be 'import'/'i' or 'extract'/'e'
  • Second argument:
    -- import: Boilerplate's name (example: angular-http-service)
    -- extract: Extraction Pathname (example: 'services/http.service.ts')
  • Third argument:
    -- import: Import Pathname (example: 'services/http.service.ts')
    -- extract: New boilerplate's name (example: angular-http-service)