UNPKG
mlpm
Version:
latest (0.6.1)
0.6.1
0.6.0
0.5.1
0.5.0
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.0
0.1.1
0.1.0
the client for mlpm, a MarkLogic package manager
github.com/joemfb/mlpm
joemfb/mlpm
mlpm
/
lib
/
commands
/
whoami.js
16 lines
(11 loc)
•
276 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict'
var
log =
require
(
'winston'
)
var
util =
require
(
'../util.js'
)
function
whoami
(
args
) { util.
getConfig
(
function
(
err, data
) {
if
(err)
return
log.
error
(err) log.
info
( data.
username
) }) } whoami.
usage
=
'mlpm whoami'
module
.
exports
.
command
= whoami