src/pybel/repository.py
def ls(bel_repository: BELRepository):
        """List the contents of the repository."""
        global_caches = bel_repository._get_global_caches()
        if global_caches:
            click.secho('Global Cache', fg='red', bold=True)
            _write_caches(bel_repository, bel_repository.output_directory, bel_repository.bel_cache_name)
            click.secho('Local Caches', fg='red', bold=True)

        for root, file_name in bel_repository.iterate_bel():
            _write_caches(bel_repository, root, file_name)
List the contents of the repository.
List the contents of the repository.
List the contents of the repository .
def ls(bel_repository: BELRepository):
        global_caches = bel_repository._get_global_caches()
        if global_caches:
            click.secho('Global Cache', fg='red', bold=True)
            _write_caches(bel_repository, bel_repository.output_directory, bel_repository.bel_cache_name)
            click.secho('Local Caches', fg='red', bold=True)
        for root, file_name in bel_repository.iterate_bel():
            _write_caches(bel_repository, root, file_name)
def ls ( bel_repository : BELRepository ) : global_caches = bel_repository . _get_global_caches ( ) if global_caches : click . secho ( 'Global Cache' , fg = 'red' , bold = True ) _write_caches ( bel_repository , bel_repository . output_directory , bel_repository . bel_cache_name ) click . secho ( 'Local Caches' , fg = 'red' , bold = True ) for root , file_name in bel_repository . iterate_bel ( ) : _write_caches ( bel_repository , root , file_name )
List the contents of the repository.
List the contents of the repository .
"""List the contents of the repository."""
bel_repository
BELRepository