UNPKG
cybertron-utils
Version:
latest (0.1.1)
0.1.1
0.1.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
cybertron components manage
github.com/iamtang/cybertron
iamtang/cybertron
cybertron-utils
/
cmds
/
get.js
9 lines
(8 loc)
•
160 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
const
{ get } =
require
(
'../utils/config'
);
module
.
exports
= {
command
:
'get-url'
,
desc
:
'获取源地址'
,
handler
(
argv
) {
console
.
log
(
get
(
'url'
)); } };