lib/neetob/cli/github/labels/delete_all.rb in neetob-0.2.3 vs lib/neetob/cli/github/labels/delete_all.rb in neetob-0.2.4
- old
+ new
@@ -7,21 +7,19 @@
module Neetob
class CLI
module Github
module Labels
class DeleteAll < Base
- attr_accessor :repos, :sandbox, :all_neeto_repos
+ attr_accessor :repos, :sandbox
- def initialize(repos, sandbox = false, all_neeto_repos = false)
+ def initialize(repos, sandbox = false)
super()
@repos = repos
@sandbox = sandbox
- @all_neeto_repos = all_neeto_repos
end
def run
- check_for_apps_and_all_neeto_repos_option(repos, all_neeto_repos)
- matching_repos = find_all_matching_apps_or_repos(repos, :github, sandbox, false, all_neeto_repos)
+ matching_repos = find_all_matching_apps_or_repos(repos, :github, sandbox)
matching_repos.each do |repo|
ui.info("\n Working on #{repo} repo \n")
begin
labels = client.labels(repo)
labels.each do |label|