def profile_list_command(profile_command)
      profile_command.desc _('cli.profile.list.desc')
      profile_command.command :list do |profile_list_command|
        profile_list_command.action do |global_options,options,args|
          profiles = Bebox::ProfileWizard.new.list_profiles(project_root)
          title _('cli.profile.list.current_profiles')
          profiles.map{|profile| msg(profile)}
          warn(_('cli.profile.list.no_profiles')) if profiles.empty?
          linebreak
        end
      end
    end
def profile_list_command(profile_command)
      profile_command.desc _('cli.profile.list.desc')
      profile_command.command :list do |profile_list_command|
        profile_list_command.action do |global_options,options,args|
          profiles = Bebox::ProfileWizard.new.list_profiles(project_root)
          title _('cli.profile.list.current_profiles')
          profiles.map{|profile| msg(profile)}
          warn(_('cli.profile.list.no_profiles')) if profiles.empty?
          linebreak
        end
      end
    end
Profile list command