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