cli_example
Script
v41
Fork
1
2
3
4
5
6
7
8
9
if
(
Deno
.
args
.
length
==
0
)
{
console
.
error
(
"<name> arg is required!"
)
;
Deno
.
exit
(
1
)
;
}
console
.
log
(
`Hey
${
Deno
.
args
[
0
]
}
!`
)
;
// #cli