Sha256: cecbe46ef3b93c5487d5d49c04be574d4ea08e930d45b2e5c7c9b3506182f866
Contents?: true
Size: 277 Bytes
Versions: 2
Compression:
Stored size: 277 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'gitmq' path = ARGV.shift branch = ARGV.shift producer = GitMQ::Producer.new( storage: GitMQ::Storage.new(path), branch: branch ) loop do producer.publish(gets.strip) rescue Interrupt puts 'Bye.' exit end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gitmq-0.1.3 | bin/gitmq-produce |
gitmq-0.1.2 | bin/gitmq-produce |