Sha256: 92f5237e010d912b05e24732031f84582f582cd0db1aa13c8b71bc3b2d8ecb2c

Contents?: true

Size: 278 Bytes

Versions: 30

Compression:

Stored size: 278 Bytes

Contents

# frozen_string_literal: true

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

        Uffizzi.ui.say(File.read(manual_doc_path))
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
uffizzi-cli-2.4.11 lib/uffizzi/cli/common.rb
uffizzi-cli-2.4.10 lib/uffizzi/cli/common.rb
uffizzi-cli-2.4.9 lib/uffizzi/cli/common.rb
uffizzi-cli-2.4.8 lib/uffizzi/cli/common.rb
uffizzi-cli-2.4.7 lib/uffizzi/cli/common.rb
uffizzi-cli-2.4.6 lib/uffizzi/cli/common.rb
uffizzi-cli-2.4.5 lib/uffizzi/cli/common.rb
uffizzi-cli-2.4.4 lib/uffizzi/cli/common.rb
uffizzi-cli-2.4.3 lib/uffizzi/cli/common.rb
uffizzi-cli-2.4.2 lib/uffizzi/cli/common.rb
uffizzi-cli-2.4.1 lib/uffizzi/cli/common.rb
uffizzi-cli-2.4.0 lib/uffizzi/cli/common.rb
uffizzi-cli-2.3.4 lib/uffizzi/cli/common.rb
uffizzi-cli-2.3.3 lib/uffizzi/cli/common.rb
uffizzi-cli-2.3.2 lib/uffizzi/cli/common.rb
uffizzi-cli-2.3.1 lib/uffizzi/cli/common.rb
uffizzi-cli-2.3.0 lib/uffizzi/cli/common.rb
uffizzi-cli-2.2.2 lib/uffizzi/cli/common.rb
uffizzi-cli-2.2.1 lib/uffizzi/cli/common.rb
uffizzi-cli-2.2.0 lib/uffizzi/cli/common.rb