def role_list_command(role_command)
      role_command.desc _('cli.role.list.desc')
      role_command.command :list do |role_list_command|
        role_list_command.action do |global_options,options,args|
          roles = Bebox::Role.list(project_root)
          title _('cli.role.list.current_roles')
          roles.map{|role| msg(role)}
          warn(_('cli.role.list.no_roles')) if roles.empty?
          linebreak
        end
      end
    end
def role_list_command(role_command)
      role_command.desc _('cli.role.list.desc')
      role_command.command :list do |role_list_command|
        role_list_command.action do |global_options,options,args|
          roles = Bebox::Role.list(project_root)
          title _('cli.role.list.current_roles')
          roles.map{|role| msg(role)}
          warn(_('cli.role.list.no_roles')) if roles.empty?
          linebreak
        end
      end
    end
Role list command