UNPKG
pixgo
Version:
latest (2.0.0)
2.0.0
1.0.5
A CLI tool to upload images to Cloudinary
pixgo
/
src
/
commands
/
history.js
7 lines
(6 loc)
•
215 B
JavaScript
View Raw
1
2
3
4
5
6
7
import
DatabaseService
from
'../services/database.js'
;
export
const
historyCommand
= (
count
) => {
const
data =
DatabaseService
.
getAll
(count);
console
.
log
(data);
console
.
log
(
`Total images:
${data.length}
`
); };