# @znemz/js-common-cpy-cli

> copy / clone cli

Latest version **0.2.2** (published 2020-09-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @znemz/js-common-cpy-cli
pnpm add @znemz/js-common-cpy-cli
yarn add @znemz/js-common-cpy-cli
bun add @znemz/js-common-cpy-cli
```

Provides the command `js-common-cpy-cli`.

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2020-09-09 |
| First published | 2019-08-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Nicholas McCready |
| Maintainers | stevenheinrich, nmccready |

## Links

- npm: https://www.npmjs.com/package/@znemz/js-common-cpy-cli
- Repository: https://github.com/nmccready/js-common/packages/clone-file
- npm.io page: https://npm.io/package/@znemz/js-common-cpy-cli

## Dependencies (7)

- [cpy](https://npm.io/package/cpy.md) ^7
- [cpy-cli](https://npm.io/package/cpy-cli.md) ^3.1.1
- [commander](https://npm.io/package/commander.md) ^3.0.0
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.0.0
- [debug-fabulous](https://npm.io/package/debug-fabulous.md) ^2.0.0
- [@znemz/js-common-debug-clone](https://npm.io/package/@znemz/js-common-debug-clone.md) ^0.2.2
- [@znemz/js-common-tsconfig-clone](https://npm.io/package/@znemz/js-common-tsconfig-clone.md) ^0.2.2

## Recent versions

- 0.2.2 (latest) — 2020-09-09
- 0.2.1 — 2019-12-11
- 0.2.0 — 2019-11-26
- 0.2.0-alpha.0 — 2019-11-19
- 0.1.3 — 2019-11-02
- 0.1.3-alpha.1 — 2019-10-16
- 0.1.3-alpha.0 — 2019-10-16
- 0.1.2 — 2019-09-26
- 0.1.1 — 2019-09-11
- 0.1.0 — 2019-08-30
- 0.1.0-alpha.0 — 2019-08-30
- 0.0.28 — 2019-08-29
- 0.0.27 — 2019-08-29
- 0.0.26 — 2019-08-29
- 0.0.25 — 2019-08-28
- … 20 more at https://npm.io/package/@znemz/js-common-cpy-cli/versions

## README

# cpy-cli

Cli generator to access [sindresorhus/cpy](https://github.com/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:

```js
#!/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:

```sh
❯ 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
```

```sh
js-common-cpy-cli -s src/**.*.js -d ./dist
```

---
_Source: https://npm.io/package/@znemz/js-common-cpy-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
