const fs = require(`fs`); console.info(`Please note that this tool currently only supports one single file. It may be improved in the future.`); if (process.argv.length === 3) { fs.readFile(process.argv[2], (error, data) => { if (error) console.error(error); else { console.log(`Paste the following code into the Raw Secrets Editor:\n\n`, JSON.stringify({ code: data.toString(`base64`) })); } }) } else { console.error(`Usage: `); }