Sha256: 8fb9de274dc8962b66d445fd57ae9825b8da66bb70b3e127443c464766033e94

Contents?: true

Size: 535 Bytes

Versions: 24

Compression:

Stored size: 535 Bytes

Contents

#!/usr/bin/env ruby

require 'karafka'

# If there is a boot file, we need to require it as we expect it to contain
# Karafka app setup, routes, etc
if File.exist?(Karafka.boot_file)
  require Karafka.boot_file.to_s
else
  # However when it is unavailable, we still want to be able to run help command
  # and install command as they don't require configured app itself to run
  raise(
    Karafka::Errors::MissingBootFile,
    Karafka.boot_file
  ) unless %w[-h install].include?(ARGV[0])
end

Karafka::Cli.prepare
Karafka::Cli.start

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
karafka-1.2.13 bin/karafka
karafka-1.2.12 bin/karafka
karafka-1.2.11 bin/karafka
karafka-1.2.10 bin/karafka
karafka-1.2.9 bin/karafka
karafka-1.2.8 bin/karafka
karafka-1.2.7 bin/karafka
karafka-1.2.6 bin/karafka
karafka-1.2.5 bin/karafka
karafka-1.2.4 bin/karafka
karafka-1.2.3 bin/karafka
karafka-1.2.2 bin/karafka
karafka-1.2.1 bin/karafka
karafka-1.2.0 bin/karafka
karafka-1.2.0.beta4 bin/karafka
karafka-1.2.0.beta3 bin/karafka
karafka-1.2.0.beta2 bin/karafka
karafka-1.2.0.beta1 bin/karafka
karafka-1.1.2 bin/karafka
karafka-1.1.1 bin/karafka