Sha256: 390c27f405b8ebf63485d27d9d6dfb1ce6e1f3648d57375f2f113d558ead9086
Contents?: true
Size: 581 Bytes
Versions: 3
Compression:
Stored size: 581 Bytes
Contents
# frozen_string_literal: true require "rubycritic/commands/base" require "skunk/cli/commands/status_reporter" module Skunk module Cli module Command # Base class for `Skunk` commands. It knows how to build a command with # options. It always uses a [Skunk::Command::StatusReporter] as its # reporter object. class Base < RubyCritic::Command::Base def initialize(options) @options = options @status_reporter = Skunk::Command::StatusReporter.new(@options) end def share(_); end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
skunk-0.5.2 | lib/skunk/cli/commands/base.rb |
skunk-0.5.1 | lib/skunk/cli/commands/base.rb |
skunk-0.5.0 | lib/skunk/cli/commands/base.rb |