summaryrefslogtreecommitdiff
path: root/lib/chef/knife/cookbook_site_show.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/cookbook_site_show.rb')
-rw-r--r--lib/chef/knife/cookbook_site_show.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/chef/knife/cookbook_site_show.rb b/lib/chef/knife/cookbook_site_show.rb
index 2956ca2879..f02b20c46d 100644
--- a/lib/chef/knife/cookbook_site_show.rb
+++ b/lib/chef/knife/cookbook_site_show.rb
@@ -20,7 +20,6 @@ require "chef/knife"
class Chef
class Knife
class CookbookSiteShow < Knife
-
banner "knife cookbook site show COOKBOOK [VERSION] (options)"
category "cookbook site"
@@ -37,7 +36,7 @@ class Chef
end
end
- def get_cookbook_list(items=10, start=0, cookbook_collection={})
+ def get_cookbook_list(items = 10, start = 0, cookbook_collection = {})
cookbooks_url = "https://supermarket.chef.io/api/v1/cookbooks?items=#{items}&start=#{start}"
cr = noauth_rest.get(cookbooks_url)
cr["items"].each do |cookbook|
@@ -53,8 +52,3 @@ class Chef
end
end
end
-
-
-
-
-