Sha256: bdda8ef1334343fe828f3976e9b88805191ffbbc66e3578eaa9f251922f2cde3

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'gitmqueue'

path = ARGV.shift
branch = ARGV.shift
consumer = ARGV.shift

consumer = GitMQueue::Consumer.new(
  storage: GitMQueue::Storage.new(path),
  name: consumer,
  branch: branch
)

begin
  consumer.consume { |m| puts m }
rescue Interrupt
  puts 'Bye.'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitmqueue-0.1.0 bin/gitmqueue-consume