Class: Neetob::CLI::Github::Labels::Commands

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

Instance Method Summary collapse

Methods inherited from SubCommandBase

banner, subcommand_prefix

Instance Method Details

#deleteObject



49
50
51
# File 'lib/neetob/cli/github/labels/commands.rb', line 49

def delete
  Delete.new(options[:apps], options[:labels], options[:sandbox], options[:all_neeto_repos]).run
end

#delete_allObject



43
44
45
# File 'lib/neetob/cli/github/labels/commands.rb', line 43

def delete_all
  DeleteAll.new(options[:apps], options[:sandbox], options[:all_neeto_repos]).run
end

#listObject



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

def list
  List.new(options[:apps], options[:sandbox], options[:all_neeto_repos]).run
end

#showObject



32
33
34
# File 'lib/neetob/cli/github/labels/commands.rb', line 32

def show
  Show.new(options[:apps], options[:name], options[:sandbox], options[:all_neeto_repos]).run
end

#updateObject



56
57
58
59
60
# File 'lib/neetob/cli/github/labels/commands.rb', line 56

def update
  Update.new(
    options[:apps], options[:old_name], options[:new_name], options[:sandbox],
    options[:all_neeto_repos]).run
end

#upsertObject



38
39
40
# File 'lib/neetob/cli/github/labels/commands.rb', line 38

def upsert
  Upsert.new(options[:apps], options[:path], options[:sandbox], options[:all_neeto_repos]).run
end