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



5
6
7
# File 'lib/audio_feed_manager/cli/command.rb', line 5

def self.arguments
  yield(arguments_specification)
end

.arguments_specificationObject



9
10
11
# File 'lib/audio_feed_manager/cli/command.rb', line 9

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

Instance Method Details

#argumentsObject



13
14
15
# File 'lib/audio_feed_manager/cli/command.rb', line 13

def arguments
  self.class.arguments_specification
end

#run(arguments = {}) ⇒ Object



20
21
# File 'lib/audio_feed_manager/cli/command.rb', line 20

def run(arguments = {})
end