UNPKG
terimg
Version:
latest (1.0.7)
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
do the image in the terminal
github.com/Commandtechno/terimg
Commandtechno/terimg
terimg
/
cli.js
9 lines
(6 loc)
•
193 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
#! /usr/bin/env node
const
terimg =
require
(
"./index"
);
const
images = process.
argv
.
slice
(
2
); (
async
() => {
for
(
const
image
of
images)
await
terimg
(image).
then
(
console
.
log
); })();