1 | [![npm][npm-badge]][npm-badge-url]
|
2 |
|
3 | # Stencil Utils
|
4 |
|
5 | This is a simple set of tools that can be executed through a terminal or through function calls.
|
6 |
|
7 | ```
|
8 | sd rimraf ./testdir
|
9 | ```
|
10 |
|
11 | - **rimraf**
|
12 | - Provide a directory that should be recursively deleted from the filesystem
|
13 | - Example: `sd rimraf ./testdir`
|
14 | - **copyDir**
|
15 | - Recursively copy all contents of one folder into another.
|
16 | - Example: `sd copyDir ./testdir ./testdir2`
|
17 | - **mkdirp**
|
18 | - Create a directory and child directories based on path. Same as 'mkdir -p' in *nix systems.
|
19 | - Example: `sd mkdirp ./testdir/depth1/depth2/depth3`
|
20 | - **concurrent**
|
21 | - Execute multiple commands concurrently on windows or *nix systems
|
22 | - Example: `sd concurrent "touch this" "del that"`
|
23 |
|
24 | [npm-badge]: https://img.shields.io/npm/v/@stencil/utils.svg?style=flat-square
|
25 | [npm-badge-url]: https://www.npmjs.com/package/@stencil/utils
|