Class: Michael::Commands::Repos
- Inherits:
-
Thor
- Object
- Thor
- Michael::Commands::Repos
show all
- Defined in:
- lib/michael/commands/repos.rb,
lib/michael/commands/repos/edit.rb,
lib/michael/commands/repos/pull_requests.rb
Defined Under Namespace
Classes: Edit, PullRequests
Instance Method Summary
collapse
Instance Method Details
#edit ⇒ Object
13
14
15
16
17
18
19
20
|
# File 'lib/michael/commands/repos.rb', line 13
def edit(*)
if options[:help]
invoke :help, ['edit']
else
require_relative 'repos/edit'
Michael::Commands::Repos::Edit.new(options).execute
end
end
|
#prs ⇒ Object
39
40
41
42
43
44
45
46
|
# File 'lib/michael/commands/repos.rb', line 39
def prs(*)
if options[:help]
invoke :help, ['prs']
else
require_relative 'repos/pull_requests'
Michael::Commands::Repos::PullRequests.new(options).execute
end
end
|