class Chef::Knife::OrgDelete

Public Instance Methods

run() click to toggle source
# File lib/chef/knife/org_delete.rb, line 25
def run
  org_name = @name_args[0]
  ui.confirm "Do you want to delete the organization #{org_name}"
  ui.output root_rest.delete("organizations/#{org_name}")
end