Sha256: f196ebd642bff3f882c691a16534da03d47c49ef703bb206e53af750bd50c24c

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 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, "share/man/#{command_name}.ronn")

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uffizzi-cli-2.0.34 lib/uffizzi/cli/common.rb