Sha256: 60c745073d44dfc633b01bb036389aa84a4e5d40b41eb6265d991d36e24b7e0b

Contents?: true

Size: 470 Bytes

Versions: 2

Compression:

Stored size: 470 Bytes

Contents

# frozen_string_literal: true

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

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

        private

        attr_reader :options, :status_reporter
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
skunk-0.5.1 lib/skunk/cli/commands/help.rb
skunk-0.5.0 lib/skunk/cli/commands/help.rb