mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
12 lines
251 B
JavaScript
Executable file
12 lines
251 B
JavaScript
Executable file
#! /usr/bin/env node
|
|
|
|
var JSONStream = require('./')
|
|
|
|
if(!module.parent && process.title !== 'browser') {
|
|
process.stdin
|
|
.pipe(JSONStream.parse(process.argv[2]))
|
|
.pipe(JSONStream.stringify('[', ',\n', ']\n', 2))
|
|
.pipe(process.stdout)
|
|
}
|
|
|
|
|