def role_list_profiles_command(role_command)
      role_command.desc _('cli.role.list_profiles.desc')
      role_command.arg_name "[role_name]"
      role_command.command :list_profiles do |list_profiles_command|
        list_profiles_command.action do |global_options,options,args|
          help_now!(error(_('cli.role.list_profiles.name_arg_missing'))) if args.count == 0
          role = args.first
          print_profiles(role, Bebox::Role.list_profiles(project_root, role))
        end
      end
    end
def role_list_profiles_command(role_command)
      role_command.desc _('cli.role.list_profiles.desc')
      role_command.arg_name "[role_name]"
      role_command.command :list_profiles do |list_profiles_command|
        list_profiles_command.action do |global_options,options,args|
          help_now!(error(_('cli.role.list_profiles.name_arg_missing'))) if args.count == 0
          role = args.first
          print_profiles(role, Bebox::Role.list_profiles(project_root, role))
        end
      end
    end
Role list profiles command