Method: Supermarket::SupermarketCLI#profiles
- Defined in:
- lib/bundles/inspec-supermarket/cli.rb
#profiles ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'lib/bundles/inspec-supermarket/cli.rb', line 18 def profiles # display profiles in format user/profile supermarket_profiles = Supermarket::API.profiles headline("Available profiles:") supermarket_profiles.each do |p| li("#{p["tool_name"]} #{mark_text(p["tool_owner"] + "/" + p["slug"])}") end end |