Skip to content

Instantly share code, notes, and snippets.

@sunb0002
Last active September 4, 2019 14:10
Show Gist options
  • Save sunb0002/99ae7241907b2da59beb9f0e911db113 to your computer and use it in GitHub Desktop.
Save sunb0002/99ae7241907b2da59beb9f0e911db113 to your computer and use it in GitHub Desktop.
const usage = () => console.log(`
Usage:
node decoder.js <file-path>
The script will decode any base64-encoded value for each line,
and create x.decoded.xml under the same folder.
`);
if (process.argv.length < 3) {
usage();
process.exit(0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment