Class: Neetob::CLI::Github::Labels::Commands
Instance Method Summary
collapse
banner, subcommand_prefix
Instance Method Details
#delete ⇒ Object
51
52
53
|
# File 'lib/neetob/cli/github/labels/commands.rb', line 51
def delete
Delete.new(options[:repos], options[:labels], options[:sandbox]).run
end
|
#delete_all ⇒ Object
45
46
47
|
# File 'lib/neetob/cli/github/labels/commands.rb', line 45
def delete_all
DeleteAll.new(options[:repos], options[:sandbox]).run
end
|
#list ⇒ Object
23
24
25
|
# File 'lib/neetob/cli/github/labels/commands.rb', line 23
def list
List.new(options[:repos], options[:sandbox]).run
end
|
#show ⇒ Object
29
30
31
|
# File 'lib/neetob/cli/github/labels/commands.rb', line 29
def show
Show.new(options[:repos], options[:name], options[:sandbox]).run
end
|
#update ⇒ Object
58
59
60
61
|
# File 'lib/neetob/cli/github/labels/commands.rb', line 58
def update
Update.new(
options[:repos], options[:old_name], options[:new_name], options[:sandbox]).run
end
|
#upsert ⇒ Object
38
39
40
41
42
|
# File 'lib/neetob/cli/github/labels/commands.rb', line 38
def upsert
Upsert.new(
options[:repos], options[:path], options[:sandbox], options[:name],
options[:color], options[:description]).run
end
|