Sha256: 32fefab38dadfbdcee2b56a37c9a49ab40adac41ada4d6c888dfb94cfdad9589

Contents?: true

Size: 288 Bytes

Versions: 20

Compression:

Stored size: 288 Bytes

Contents

# frozen_string_literal: true

require 'open3'

module Uffizzi
  class Cli::Common
    class << self
      def show_manual(command_name)
        manual_doc_path = File.join(Uffizzi.root, "man/#{command_name}")

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
uffizzi-cli-1.0.5 lib/uffizzi/cli/common.rb
uffizzi-cli-1.0.4 lib/uffizzi/cli/common.rb
uffizzi-cli-1.0.3 lib/uffizzi/cli/common.rb
uffizzi-cli-1.0.2 lib/uffizzi/cli/common.rb
uffizzi-cli-1.0.1 lib/uffizzi/cli/common.rb
uffizzi-cli-1.0.0 lib/uffizzi/cli/common.rb
uffizzi-cli-0.14.0 lib/uffizzi/cli/common.rb
uffizzi-cli-0.12.0 lib/uffizzi/cli/common.rb
uffizzi-cli-0.11.5 lib/uffizzi/cli/common.rb
uffizzi-cli-0.11.4 lib/uffizzi/cli/common.rb
uffizzi-cli-0.11.3 lib/uffizzi/cli/common.rb
uffizzi-cli-0.11.2 lib/uffizzi/cli/common.rb
uffizzi-cli-0.11.1 lib/uffizzi/cli/common.rb
uffizzi-cli-0.11.0 lib/uffizzi/cli/common.rb
uffizzi-cli-0.10.1 lib/uffizzi/cli/common.rb
uffizzi-cli-0.10.0 lib/uffizzi/cli/common.rb
uffizzi-cli-0.9.0 lib/uffizzi/cli/common.rb
uffizzi-cli-0.8.0 lib/uffizzi/cli/common.rb
uffizzi-cli-0.7.3 lib/uffizzi/cli/common.rb
uffizzi-cli-0.7.2 lib/uffizzi/cli/common.rb