Sha256: b703f858e81e30ac7a8323c5256b7f8d3c903f27bc35ebfa4255a0d1e9fd2127

Contents?: true

Size: 520 Bytes

Versions: 1

Compression:

Stored size: 520 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

        def sharing?
          false
        end

        private

        attr_reader :options, :status_reporter
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skunk-0.5.2 lib/skunk/cli/commands/help.rb