npmci/ts/mod_purge/index.ts
2017-06-07 15:16:33 +02:00

12 lines
229 B
TypeScript

import * as plugins from './mod.plugins'
let npmciCflare = new plugins.cflare.CflareAccount()
export let purge = async (argvArg) => {
npmciCflare.auth({
email: '',
key: ''
})
npmciCflare.purgeZone(argvArg._[1])
}