Class: Yetty::Record

Inherits:
Command show all
Defined in:
lib/yetty/record.rb

Overview

Record command class

Constant Summary

Constants inherited from Command

Command::DEFAULT_CONFIGURATION_FILES

Instance Attribute Summary

Attributes inherited from Command

#arguments, #options, #ui

Instance Method Summary collapse

Methods inherited from Command

#initialize

Constructor Details

This class inherits a constructor from Yetty::Command

Instance Method Details

#execute!Object

Invoke shelr record



67
68
69
70
# File 'lib/yetty/record.rb', line 67

def execute!
  Yetty::Recorder.record!(opts)
  Yetty::Publisher.new(arguments.first || 'yetty.json').dump('last')
end