Class: Gitdig::Commands::Pr

Inherits:
Thor
  • Object
show all
Includes:
Mixin::Editorable
Defined in:
lib/gitdig/commands/pr.rb,
lib/gitdig/commands/pr/team.rb

Defined Under Namespace

Classes: Team

Constant Summary

Constants included from Mixin::Editorable

Mixin::Editorable::OUTPUT_FILE

Instance Method Summary collapse

Methods included from Mixin::Editorable

#editor_exec, #open_editor

Instance Method Details

#team(team_id = nil) ⇒ Object



23
24
25
26
27
28
29
30
# File 'lib/gitdig/commands/pr.rb', line 23

def team(team_id = nil)
  if options[:help]
    invoke :help, ['team']
  else
    require_relative 'pr/team'
    editor_exec(Gitdig::Commands::Pr::Team.new(team_id, options))
  end
end