Sha256: 689838f04837b295859db4f3aa874e89cfc8588d550052d45e5098b6cbd3fa57

Contents?: true

Size: 553 Bytes

Versions: 1

Compression:

Stored size: 553 Bytes

Contents

#!/usr/bin/env ruby

require 'spaarti'
require 'mercenary'

Mercenary.program(:spaarti) do |p|
  p.version Spaarti::VERSION
  p.description 'Tool for managing local checkouts of git repos'
  p.syntax 'spaarti [options]'

  p.option :config_file, '-c FILE', '--config FILE', 'Config file'
  p.option :purge, '-p', '--purge', 'Remove orphaned repos'
  p.option :quiet, '-q', '--quiet', 'Silence standard output'
  p.option :url_type, '-t', '--type', 'URL type for cloning (ssh, https)'

  p.action do |_, options|
    Spaarti.new(options).sync!
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spaarti-1.0.1 bin/spaarti