Class: AudioFeedManager::Command

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/audio_feed_manager/cli/command.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.arguments {|arguments_specification| ... } ⇒ Object



7
8
9
# File 'lib/audio_feed_manager/cli/command.rb', line 7

def self.arguments
  yield(arguments_specification)
end

.arguments_specificationObject



11
12
13
# File 'lib/audio_feed_manager/cli/command.rb', line 11

def self.arguments_specification
  @arguments_specification ||= ArgumentsSpecification.no_arguments
end

Instance Method Details

#argumentsObject



15
16
17
# File 'lib/audio_feed_manager/cli/command.rb', line 15

def arguments
  self.class.arguments_specification
end

#run(arguments = {}) ⇒ Object



22
23
# File 'lib/audio_feed_manager/cli/command.rb', line 22

def run(arguments = {})
end