class Kontena::Plugin::Cloud::Organization::RemoveCommand

Public Instance Methods

execute() click to toggle source
# File lib/kontena/plugin/cloud/organization/remove_command.rb, line 9
def execute
  confirm_command(name) unless forced?

  spinner "Removing organization #{pastel.cyan(name)}" do
    cloud_client.delete("/organizations/#{name}")
  end
end