Sha256: 090fc7d6d08743f93aba85ceb812db021d66392d1af26be74926137b8cee066e

Contents?: true

Size: 260 Bytes

Versions: 14

Compression:

Stored size: 260 Bytes

Contents

# frozen_string_literal: true

require 'open3'

module Cli
  class Common
    class << self
      def show_manual(method_name)
        manual_doc_path = "man/uffizzi-#{method_name}"

        Open3.pipeline("man #{manual_doc_path}")
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
uffizzi-cli-0.4.0 lib/uffizzi/cli/common.rb
uffizzi-cli-0.3.8 lib/uffizzi/cli/common.rb
uffizzi-cli-0.3.7 lib/uffizzi/cli/common.rb
uffizzi-cli-0.3.6 lib/uffizzi/cli/common.rb
uffizzi-cli-0.3.5 lib/uffizzi/cli/common.rb
uffizzi-cli-0.3.4 lib/uffizzi/cli/common.rb
uffizzi-cli-0.3.3 lib/uffizzi/cli/common.rb
uffizzi-cli-0.3.2 lib/uffizzi/cli/common.rb
uffizzi-cli-0.2.2 lib/uffizzi/cli/common.rb
uffizzi-cli-0.2.1 lib/uffizzi/cli/common.rb
uffizzi-cli-0.2.0 lib/uffizzi/cli/common.rb
uffizzi-cli-0.1.4.3 lib/uffizzi/cli/common.rb
uffizzi-cli-0.1.4.2 lib/uffizzi/cli/common.rb
uffizzi-cli-0.1.3 lib/uffizzi/cli/common.rb