lib/neetob/cli/heroku/access/commands.rb in neetob-0.4.16 vs lib/neetob/cli/heroku/access/commands.rb in neetob-0.4.19
- old
+ new
@@ -18,22 +18,22 @@
desc: "Heroku app names. Can be matched using the '*' wildcard. Example: \"neeto*\" \"neeto-cal-web-staging\""
}
desc "list", "List all the users of the Heroku apps"
def list
- List.new(options[:apps], options[:sandbox]).run
+ List.new(options[:apps], options[:sandbox]).process
end
desc "add", "Add new users to the Heroku apps"
option :users, type: :array, required: true, desc: "Users' emails that need to be added to Heroku apps"
def add
- Add.new(options[:apps], options[:users], options[:sandbox]).run
+ Add.new(options[:apps], options[:users], options[:sandbox]).process
end
desc "remove", "Remove the users from the Heroku apps"
option :users, type: :array, required: true, desc: "Users' emails that need to be removed from the Heroku apps"
def remove
- Remove.new(options[:apps], options[:users], options[:sandbox]).run
+ Remove.new(options[:apps], options[:users], options[:sandbox]).process
end
end
end
end
end