Sha256: b528fda82eaae85670bd65e15271169efffd4b2f184ef0619cceb3f24291ff54
Contents?: true
Size: 479 Bytes
Versions: 14
Compression:
Stored size: 479 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.action do |_, options| Spaarti.new(options).sync! end end
Version data entries
14 entries across 14 versions & 1 rubygems