Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bradgarropy/plop-action-copy

A plop action to copy files.
https://github.com/bradgarropy/plop-action-copy

action-type copy plop plop-action plop-pack

Last synced: 3 months ago
JSON representation

A plop action to copy files.

Awesome Lists containing this project

README

        

# 💧 plop-action-copy

[![version][version-badge]][npm]
[![downloads][downloads-badge]][npm]
[![size][size-badge]][bundlephobia]
[![github actions][github-actions-badge]][github-actions]
[![contributing][contributing-badge]][contributing]
[![contributors][contributors-badge]][contributors]
[![discord][discord-badge]][discord]

_A [plop][plop] action to copy files._

## 📦 Installation

This package is installable from [npm][npm].

```bash
npm install --save-dev plop-action-copy
```

## 🥑 Usage

Before you can use the `plop-pack`, you have to load it into the `plop` object.

```javascript
plop.load("plop-action-copy")
```

Once loaded, you now have access the following actions.

### `copy`

Copies a file from a source path to a destination path.

```javascript
{
type: "copy",
src: "templates/default.jpg",
dest: "my-blog-post/images/default.jpg"
}
```

## ❔ Questions

🐛 report bugs by filing [issues][issues]
📢 provide feedback with [issues][issues] or on [twitter][twitter]
🙋🏼‍♂️ use my [ama][ama] or [twitter][twitter] to ask any other questions

## ✨ Contributors



Brad Garropy

💻 📖 ⚠️ 🚇

Anthony Whitaker

💻

[plop]: https://plopjs.com
[npm]: https://npmjs.com
[issues]: https://github.com/bradgarropy/plop-action-copy/issues
[twitter]: https://twitter.com/bradgarropy
[ama]: https://github.com/bradgarropy/ama
[version-badge]: https://img.shields.io/npm/v/plop-action-copy.svg?style=flat-square
[downloads-badge]: https://img.shields.io/npm/dt/plop-action-copy?style=flat-square
[size-badge]: https://img.shields.io/bundlephobia/minzip/plop-action-copy?style=flat-square
[github-actions-badge]: https://img.shields.io/github/workflow/status/bradgarropy/plop-action-copy/%F0%9F%9A%80%20release?style=flat-square
[contributing-badge]: https://img.shields.io/badge/PRs-welcome-success?style=flat-square
[contributors-badge]: https://img.shields.io/github/all-contributors/bradgarropy/plop-action-copy?style=flat-square
[discord-badge]: https://img.shields.io/discord/748196643140010015?style=flat-square
[bundlephobia]: https://bundlephobia.com/result?p=plop-action-copy
[github-actions]: https://github.com/bradgarropy/plop-action-copy/actions
[contributing]: https://github.com/bradgarropy/plop-action-countdown/blob/master/contributing.md
[contributors]: #-Contributors
[discord]: https://bradgarropy.com/discord