module Chef::Knife::Cloud::ServerDeleteOptions

Public Class Methods

included(includer) click to toggle source
# File lib/chef/knife/cloud/server/delete_options.rb, line 25
def self.included(includer)
  includer.class_eval do
    include ServerOptions

    option :purge,
      short: "-P",
      long: "--purge",
      boolean: true,
      default: false,
      description: "Destroy corresponding node and client on the Chef Server, in addition to destroying the Cloud node itself. Assumes node and client have the same name as the server (if not, add the '--node-name' option)."

  end
end