npmci/ts/mod_purge/index.ts

12 lines
229 B
TypeScript
Raw Normal View History

2017-06-07 13:16:33 +00:00
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])
}