Class: HustleAndFlow::IssueTrackers::Commands::Start

Inherits:
Object
  • Object
show all
Defined in:
lib/hustle_and_flow/issue_trackers/commands/start.rb

Class Method Summary collapse

Class Method Details

.call(**args) ⇒ Object



8
9
10
11
12
13
# File 'lib/hustle_and_flow/issue_trackers/commands/start.rb', line 8

def self.call(**args)
  issue_tracker_type = IssueTracker.detect.name.gsub('::Tracker', '')
  command_class      = const_get("::#{issue_tracker_type}::Commands::Start")

  command_class.call(**args)
end