Sha256: 2794ea635ffc0c7b33ba7b081a8dd4a2c5f7282dc6092120a89011af25fd7d16
Contents?: true
Size: 587 Bytes
Versions: 4
Compression:
Stored size: 587 Bytes
Contents
module Karafka # Karafka framework Cli class Cli # Console Karafka Cli action class Console < Base desc 'Start the Karafka console (short-cut alias: "c")' option aliases: 'c' # @return [String] Console executing command # @example # Karafka::Cli::Console.command #=> 'KARAFKA_CONSOLE=true bundle exec irb...' def self.command "KARAFKA_CONSOLE=true bundle exec irb -r #{Karafka.boot_file}" end # Start the Karafka console def call cli.info system self.class.command end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
karafka-0.5.0.3 | lib/karafka/cli/console.rb |
karafka-0.5.0.2 | lib/karafka/cli/console.rb |
karafka-0.5.0.1 | lib/karafka/cli/console.rb |
karafka-0.5.0 | lib/karafka/cli/console.rb |