Parent

Methods

Files

Class/Module Index [+]

Quicksearch

Chef::Knife::RoleEdit

Public Instance Methods

run() click to toggle source
# File lib/chef/knife/role_edit.rb, line 32
def run
  @role_name = @name_args[0]

  if @role_name.nil?
    show_usage
    ui.fatal("You must specify a role name")
    exit 1
  end

  ui.edit_object(Chef::Role, @role_name)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.