Class: Openra::CLI::Commands::ReplayMetadata
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Openra::CLI::Commands::ReplayMetadata
- Defined in:
- lib/openra/cli/commands/replay_metadata.rb
Instance Method Summary collapse
Instance Method Details
#call(replay:, **options) ⇒ Object
14 15 16 17 |
# File 'lib/openra/cli/commands/replay_metadata.rb', line 14 def call(replay:, **) data = Openra::Commands::Replays::ExtractMetadata.new.call(replay) puts FORMATTERS.fetch([:format]).call(data) end |