UNPKG
@cyph/sdk
Version:
latest (9.0.0)
master (5.1.1-master)
9.0.0
8.2.0
8.1.1
8.1.0
8.0.15
8.0.14
8.0.13
8.0.12
8.0.11
8.0.10
8.0.9
8.0.8
8.0.7
8.0.6
8.0.5
8.0.4
8.0.3
8.0.2
8.0.1
8.0.0
7.1.2
7.1.1
7.1.0
7.0.4
7.0.3
7.0.2
7.0.1
7.0.0
7.0.0-next.17
7.0.0-next.16
7.0.0-next.15
7.0.0-next.14
7.0.0-next.13
7.0.0-next.12
7.0.0-next.11
7.0.0-next.10
7.0.0-next.9
7.0.0-next.8
7.0.0-next.7
7.0.0-next.6
7.0.0-next.5
7.0.0-next.4
7.0.0-next.3
7.0.0-next.2
7.0.0-next.1
7.0.0-next.0
6.0.6
6.0.5
6.0.4
6.0.3
6.0.2
6.0.1
6.0.0
5.2.1
5.2.0
5.1.4
5.1.3
5.1.2
5.1.1
5.1.1-master
5.1.0
5.0.6
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.2.2
4.2.1
4.2.0
4.1.3
4.1.2
4.1.1
4.1.0
4.0.2
4.0.1
4.0.0
3.2.0
3.1.0
2.3.0
2.2.1
2.2.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.4
2.0.3
2.0.2
2.0.1
1.1.3
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
0.0.6-test
0.0.5-test
0.0.4-test
0.0.3-test
0.0.2-test
0.0.1-test
Cyph SDK
github.com/cyph/cyph
cyph/cyph
@cyph/sdk
/
cli
/
auth
/
show-master-key.js
10 lines
(5 loc)
•
236 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
/* Temporary workaround for blessed/prompt bug that causes duplicate keystrokes */
import {_showMasterKey}
from
'./index.js'
;
const
args
= process.argv.slice(
2
);
await
_showMasterKey(
args
[
0
],
args
[
1
] ===
'--retry'
); process.exit();