Sha256: 3ccc640c000a0437e1381d81c49abdc516902609d2dc6755a32e75104c78f520

Contents?: true

Size: 434 Bytes

Versions: 6

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

require 'toolrack'
require 'teLogger'

require 'ptools'

require_relative "cli/version"
require_relative 'cli/command'
require_relative 'cli/command_factory'

module Docker
  module Cli
    class Error < StandardError; end
    # Your code goes here...
  
    def Cli.docker_exe

      path = File.which("docker")
      if path.nil?
        "docker"
      else
        path
      end

    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
docker-cli-0.3.1 lib/docker/cli.rb
docker-cli-0.3.0 lib/docker/cli.rb
docker-cli-0.1.2 lib/docker/cli.rb
docker-cli-0.2.1 lib/docker/cli.rb
docker-cli-0.2.0 lib/docker/cli.rb
docker-cli-0.1.1 lib/docker/cli.rb