@znemz/js-common-cpy-cli
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

cpy-cli

Cli generator to access sindresorhus/cpy for various projects to clone boilerplate files.

How to use

Main intent is to use this pragmatically via the js api, otherwise just use the simpler cpy cli instead.

JS API Example:

#!/usr/bin/env node
import path from 'path';
import { cliGen } from '@znemz/js-common-cpy-cli';

cliGen({ src: path.resolve(__dirname, '..', 'tsconfig.json') });

However if you're so inclined to use the js-common-cpy-cli.

Example Cli:

❯ node_modules/.bin/js-common-cpy-cli --help
Usage: js-common-cpy-cli [options]

Options:
  -V, --version   output the version number
  -d, --dest <d>  dest path
  -s, --src <s>   source glob
  -h, --help      output usage information
js-common-cpy-cli -s src/**.*.js -d ./dist

Readme

Keywords

none

Package Sidebar

Install

npm i @znemz/js-common-cpy-cli

Weekly Downloads

18

Version

0.2.2

License

MIT

Unpacked Size

6.36 kB

Total Files

13

Last publish

Collaborators

  • stevenheinrich
  • nmccready