Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/bradgarropy/plop-action-copy
- Owner: bradgarropy
- License: mit
- Created: 2020-07-28T03:06:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T05:29:23.000Z (almost 2 years ago)
- Last Synced: 2024-09-24T22:22:06.285Z (3 months ago)
- Topics: action-type, copy, plop, plop-action, plop-pack
- Language: JavaScript
- Homepage: https://npmjs.com/package/plop-action-copy
- Size: 114 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Contributing: contributing.md
- License: license
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