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