Class: Chef::Knife::OrgDelete
- Inherits:
-
Knife
- Object
- Knife
- Chef::Knife::OrgDelete
- Defined in:
- lib/chef/knife/org_delete.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
25 26 27 28 29 |
# 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 |