def _bse_cli_list_roles(args):
    '''Handles the list-roles subcommand'''
    all_roles = api.get_roles()

    if args.no_description:
        liststr = all_roles.keys()
    else:
        liststr = format_columns(all_roles.items())

    return '\n'.join(liststr)
def _bse_cli_list_roles ( args ) : all_roles = api . get_roles ( ) if args . no_description : liststr = all_roles . keys ( ) else : liststr = format_columns ( all_roles . items ( ) ) return '\n' . join ( liststr )
Handles the list-roles subcommand