class Spty::Command::SkipCommand

Constants

ASCRIPT_TRACK_SKIP

Public Class Methods

call(_, command = 'skip') click to toggle source
# File lib/spty/commands/skip_command.rb, line 8
def self.call(_, command = 'skip')
  return unless running?

  Spty::AppleScriptRunner.(ASCRIPT_TRACK_SKIP)
  Spty::Command::InfoCommand.(nil, command)
end