UNPKG
fale
Version:
latest (1.0.0)
1.0.0
0.0.1
Fale via terminal
fale
/
index.js
8 lines
(7 loc)
•
239 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
#!/usr/bin/env node
const
SaySomehting
=
require
(
'say-something'
)
const
words = process.
argv
const
phrase = words.
slice
(
2
).
join
(
' '
) saySomething =
new
SaySomehting
({
language
:
'pt-br'
}) saySomething.
now
(phrase)
console
.
log
(
'Fale'
, phrase)