keys stream
This commit is contained in:
parent
b0b9eb9249
commit
e9cf0b37eb
@ -22,7 +22,7 @@ function do_keys(subcmd, opts, args, callback) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (opts.json) {
|
if (opts.json) {
|
||||||
console.log(JSON.stringify(keys));
|
console.log(common.jsonStream(keys));
|
||||||
} else {
|
} else {
|
||||||
// pretty print
|
// pretty print
|
||||||
keys.forEach(function (key) {
|
keys.forEach(function (key) {
|
||||||
|
Reference in New Issue
Block a user