Class: Neetob::CLI::Github::Issues::Commands

Inherits:
SubCommandBase show all
Defined in:
lib/neetob/cli/github/issues/commands.rb

Instance Method Summary collapse

Methods inherited from SubCommandBase

banner, subcommand_prefix

Instance Method Details

#createObject



37
38
39
40
41
42
43
44
45
46
# File 'lib/neetob/cli/github/issues/commands.rb', line 37

def create
  Create.new(
    options[:apps],
    options[:title],
    options[:description],
    options[:assignee],
    options[:labels],
    options[:sandbox]
  ).run
end

#listObject



26
27
28
29
30
# File 'lib/neetob/cli/github/issues/commands.rb', line 26

def list
  List.new(
    options[:apps], options[:assignee], options[:state], options[:search], options[:count],
    options[:label], options[:sandbox]).run
end