@vanillaes/esmtk 0.16.0 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -119,16 +119,19 @@ Copy is a cross-platform clone of the `cp` command in Linux
|
|
|
119
119
|
|
|
120
120
|
### Arguments
|
|
121
121
|
|
|
122
|
-
`esmtk cp [-
|
|
122
|
+
`esmtk cp [-r] [source...] [destination]`
|
|
123
123
|
|
|
124
|
-
- `[source]` - the source file/glob
|
|
124
|
+
- `[source...]` - the source file(s)/glob(s)
|
|
125
125
|
- `[destination]` - the destination file/directory
|
|
126
|
-
- `-f --force` - ignore exceptions if the file doesn't exist
|
|
127
126
|
- `-r, --recursive` - copy files/directories recursively
|
|
128
127
|
|
|
129
128
|
### Usage
|
|
130
129
|
|
|
131
130
|
```sh
|
|
131
|
+
esmtk cp file1.txt dest/file1.txt
|
|
132
|
+
esmtk cp file1.txt file2.txt file3.txt dest/
|
|
133
|
+
esmtk cp *.txt dest/
|
|
134
|
+
esmtk cp *.txt *.js *.ts dest/
|
|
132
135
|
esmtk cp -r src/ dest/
|
|
133
136
|
```
|
|
134
137
|
|
|
@@ -138,14 +141,17 @@ Remove is a cross-platform clone of the `rm` command in Linux
|
|
|
138
141
|
|
|
139
142
|
### Arguments
|
|
140
143
|
|
|
141
|
-
`esmtk rm [-
|
|
144
|
+
`esmtk rm [-r] [path(s)...]`
|
|
142
145
|
|
|
143
|
-
- `[
|
|
144
|
-
- `-
|
|
145
|
-
- `-r, --recursive` - remove files/directories recursively
|
|
146
|
+
- `[path(s)...]` - the source file(s)/glob(s)
|
|
147
|
+
- `-r, --recursive` - remove directory recursively
|
|
146
148
|
|
|
147
149
|
### Usage
|
|
148
150
|
|
|
149
151
|
```sh
|
|
152
|
+
esmtk rm file1.txt
|
|
153
|
+
esmtk rm file1.txt file3.txt file3.txt
|
|
154
|
+
esmtk rm *.txt
|
|
155
|
+
esmtk rm *.txt *.js *.ts
|
|
150
156
|
esmtk rm -r src/
|
|
151
157
|
```
|