Parent

Methods

Class/Module Index [+]

Quicksearch

Chef::Knife::RecipeList

Public Instance Methods

run() click to toggle source
# File lib/chef/knife/recipe_list.rb, line 24
def run
  recipes = rest.get_rest('cookbooks/_recipes')
  if pattern = @name_args.first
    recipes = recipes.grep(Regexp.new(pattern))
  end
  output(recipes)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.