Sha256: 5cbe884bebd1574a93d863d9eb604b6cab80954761373f807554bcba6dbc83d0

Contents?: true

Size: 393 Bytes

Versions: 6

Compression:

Stored size: 393 Bytes

Contents

#!/usr/bin/env node

/* eslint-disable no-process-exit */

var extract = require('./')

var args = process.argv.slice(2)
var source = args[0]
var dest = args[1] || process.cwd()
if (!source) {
  console.error('Usage: extract-zip foo.zip <targetDirectory>')
  process.exit(1)
}

extract(source, { dir: dest })
  .catch(function (err) {
    console.error('error!', err)
    process.exit(1)
  })

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
isomorfeus-puppetmaster-0.5.5 node_modules/extract-zip/cli.js
isomorfeus-puppetmaster-0.5.4 node_modules/extract-zip/cli.js
isomorfeus-puppetmaster-0.5.3 node_modules/extract-zip/cli.js
isomorfeus-puppetmaster-0.5.2 node_modules/extract-zip/cli.js
isomorfeus-puppetmaster-0.5.1 node_modules/extract-zip/cli.js
isomorfeus-puppetmaster-0.5.0 node_modules/extract-zip/cli.js