Class: Dude::Commands::Checkout
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Dude::Commands::Checkout
- Defined in:
- lib/dude/commands/checkout.rb
Instance Method Summary collapse
Instance Method Details
#call(id:) ⇒ Object
10 11 12 13 14 |
# File 'lib/dude/commands/checkout.rb', line 10 def call(id:) client = ProjectManagement::Client.new issue_title = client.get_task_name_by_id(id) Dude::Git::Checkout.new.call(branch_name(issue_title, id)) end |