1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-04 05:10:05 +02:00
This commit is contained in:
s2
2018-05-18 17:26:33 +02:00
parent 0ea0853165
commit 2c5b23c10e
1125 changed files with 118732 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
#!/usr/bin/env node
'use strict'
const download = require('./')
const minimist = require('minimist')
let opts = minimist(process.argv.slice(2))
if (opts['strict-ssl'] === false) {
opts.strictSSL = false
}
download(opts, (err, zipPath) => {
if (err) throw err
console.log('Downloaded zip:', zipPath)
process.exit(0)
})