UNPKG
gulp-execa
Version:
latest (8.0.1)
8.0.1
8.0.0
7.0.1
7.0.0
6.0.0
5.0.1
5.0.0
4.5.0
4.4.1
4.4.0
4.3.0
4.2.0
4.1.0
4.0.0
3.0.2
3.0.1
3.0.0
2.0.0
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.8.0
0.7.1
0.7.0
0.6.1
0.6.0
0.5.5
0.5.4
0.5.3
0.5.2
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.2
Gulp.js command execution for humans
www.github.com/ehmicky/gulp-execa
ehmicky/gulp-execa
gulp-execa
/
build
/
src
/
echo.js
14 lines
(10 loc)
•
235 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
colorsOption
from
"colors-option"
;
import
fancyLog
from
"fancy-log"
;
const
{cyan}=
colorsOption
();
export
const
printEcho
=(
{input,opts:{echo}}
)=>{
if
(!echo){
return
}
const
log=cyan.
dim
(
`[gulp-execa]
${input}
`
);
fancyLog
(log) };