Sha256: 8c6c38bd2f40b43acdaea9b836a521b4509eb80f945db897757eb70cadc3d4e4

Contents?: true

Size: 462 Bytes

Versions: 1

Compression:

Stored size: 462 Bytes

Contents

# frozen_string_literal: true

require "skunk/commands/base"
require "rubycritic/commands/help"

module Skunk
  module Command
    # Knows how to guide user into using `skunk` properly
    class Help < Skunk::Command::Base
      # Outputs a help message
      def execute
        puts options[:help_text]
        status_reporter
      end

      def sharing?
        false
      end

      private

      attr_reader :options, :status_reporter
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skunk-0.5.3 lib/skunk/commands/help.rb