mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2025-01-30 08:05:55 +00:00
20 lines
476 B
JavaScript
20 lines
476 B
JavaScript
#!/usr/bin/env node
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const gp12 = require("../index");
|
|
const argv = process.argv;
|
|
const p12Path = argv[2];
|
|
if (!p12Path) {
|
|
console.error('Please specify a *.p12 file to convert.');
|
|
process.exit(1);
|
|
}
|
|
gp12.getPem(p12Path, (err, pem) => {
|
|
if (err) {
|
|
console.log(err);
|
|
process.exit(1);
|
|
}
|
|
else {
|
|
console.log(pem);
|
|
}
|
|
});
|
|
//# sourceMappingURL=gp12-pem.js.map
|