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