Skip to main content

list_registries

Function list_registries 

Source
pub fn list_registries() -> Result<()>
Expand description

List all configured registries and show which built-in registries are available but not yet added.

Output format:

:: Configured Registries
[Set] zoidberg: Zoidberg
      - Official Zoi packages repository
      - Git: https://gitlab.com/zillowe/zillwen/zusty/zoidberg
[Added] registry-handle: Registry Name
        - Registry description
        - Git: https://github/registry/database

:: Available Registries
[Unadded] registry-handle: Registry Name
          - Registry description
          - Git: https://github/registry/database

ยงErrors

Returns an error if the configuration cannot be read.