UNPKG
athom-cli
Version:
beta (3.1.22)
latest (3.0.2)
3.1.22
3.1.21
3.1.20
3.1.19
3.1.18
3.1.17
3.1.16
3.1.15
3.1.14
3.1.13
3.1.12
3.1.11
3.1.10
3.1.9
3.1.8
3.1.7
3.1.6
3.1.5
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.2
3.0.1
3.0.0
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.106
2.1.105
2.1.104
2.1.103
2.1.102
2.1.101
2.1.100
2.1.99
2.1.98
2.1.97
2.1.96
2.1.95
2.1.94
2.1.93
2.1.92
2.1.91
2.1.90
2.1.89
2.1.88
2.1.87
2.1.86
2.1.85
2.1.84
2.1.83
2.1.82
2.1.81
2.1.80
2.1.79
2.1.78
2.1.77
2.1.76
2.1.75
2.1.74
2.1.73
2.1.72
2.1.71
2.1.70
2.1.69
2.1.68
2.1.67
2.1.66
2.1.65
2.1.64
2.1.63
2.1.62
2.1.61
2.1.60
2.1.59
2.1.58
2.1.57
2.1.56
2.1.55
2.1.54
2.1.53
2.1.52
2.1.51
2.1.50
2.1.49
2.1.48
2.1.47
2.1.46
2.1.45
2.1.44
2.1.43
2.1.42
2.1.41
2.1.40
2.1.39
2.1.38
2.1.37
2.1.36
2.1.35
2.1.34
2.1.33
2.1.32
2.1.31
2.1.30
2.1.29
2.1.28
2.1.27
2.1.26
2.1.25
2.1.24
2.1.23
2.1.22
2.1.21
2.1.20
2.1.19
2.1.18
2.1.17
2.1.16
2.1.15
2.1.14
2.1.13
2.1.12
2.1.11
2.1.10
2.1.9
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.0.42
1.0.41
1.0.40
1.0.39
1.0.38
1.0.37
1.0.36
1.0.35
1.0.34
1.0.33
1.0.32
1.0.31
1.0.30
1.0.28
1.0.27
1.0.26
1.0.25
1.0.24
1.0.23
1.0.22
1.0.21
1.0.20
1.0.19
1.0.18
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.2
1.0.1
1.0.0
Command-line interface for Homey Apps
github.com/athombv/node-athom-cli
athombv/node-athom-cli
athom-cli
/
bin
/
cmds
/
logout.js
15 lines
(11 loc)
•
248 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict'
;
const
Log
=
require
(
'../..'
).
Log
;
const
AthomApi
=
require
(
'../..'
).
AthomApi
;
exports
.
desc
=
'Log out the current user'
;
exports
.
handler
=
async
yargs => {
try
{
await
AthomApi
.
logout
(); }
catch
( err ) {
Log
(err); } }