Sha256: 71de3394a0be326db719d4f43e4a10a2986a636fd4de8ff2cad41c5bc0c4ee97

Contents?: true

Size: 279 Bytes

Versions: 13

Compression:

Stored size: 279 Bytes

Contents

# frozen_string_literal: true

require_relative "./bundler"

module Hanami
  module CLI
    class CommandLine
      def initialize(bundler: CLI::Bundler.new)
        @bundler = bundler
      end

      def call(command)
        @bundler.exec(command)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hanami-cli-2.0.0.rc1 lib/hanami/cli/command_line.rb
hanami-cli-2.0.0.beta4 lib/hanami/cli/command_line.rb
hanami-cli-2.0.0.beta3 lib/hanami/cli/command_line.rb
hanami-cli-2.0.0.beta2 lib/hanami/cli/command_line.rb
hanami-cli-2.0.0.beta1 lib/hanami/cli/command_line.rb
hanami-cli-2.0.0.alpha8.1 lib/hanami/cli/command_line.rb
hanami-cli-2.0.0.alpha8 lib/hanami/cli/command_line.rb
hanami-cli-2.0.0.alpha7 lib/hanami/cli/command_line.rb
hanami-cli-2.0.0.alpha6.1 lib/hanami/cli/command_line.rb
hanami-cli-2.0.0.alpha6 lib/hanami/cli/command_line.rb
hanami-cli-2.0.0.alpha4 lib/hanami/cli/command_line.rb
hanami-cli-2.0.0.alpha3 lib/hanami/cli/command_line.rb
hanami-cli-2.0.0.alpha2 lib/hanami/cli/command_line.rb