This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const yargs = require('yargs'); | |
const { exec } = require('child_process'); | |
const fs = require('fs') | |
var packagedata = "" | |
var packagejson = '' | |
var convertedjson = '' | |
yargs.command({ | |
command: 'download <pkg>', | |
describe: 'Download Package', |