UNPKG
setup-easy-setup
Version:
latest (1.2.0)
1.2.0
1.1.0
1.0.0
setup-easy-setup
github.com/ahaoboy/easy-setup
ahaoboy/setup-easy-setup
setup-easy-setup
/
dist
/
cli.js
11 lines
(10 loc)
•
254 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{ setup }
from
"./setup"
;
const
repo = process.
argv
[
2
];
const
version = process.
argv
[
2
];
if
(!repo) {
console
.
log
(
"easy-setup <repo> [<version>]"
); process.
exit
(); }
setup
({ repo, version }).
then
(
(
output
) =>
{
console
.
log
(output); });