bitbucket-backup /bin/bitbucket-backup

Language Ruby Lines 19
MD5 Hash 746b63da065c89edc70d4728369faf07 Estimated Cost $237 (why?)
Repository https://bitbucket.org/mariusmarais/bitbucket-backup View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env ruby

require "highline/import"
require "bitbucket-backup"

if ARGV.empty?
    puts "Must specify a path to backup repos to."
    
    exit
end

username = ask("Username: ")

password = ask("Password: ") do |q|
    q.echo = false
end

Bitbucket::Backup.run(username, password, ARGV.first)
Back to Top