Skip to content

AV-EFI/efi-agent

Repository files navigation

License: MIT License: MIT

efi-agent

Register PIDs according to the AVefi schema from the command line.

Usage

$ pip install "efi-agent @ git+https://github.com/AV-EFI/efi-agent.git"
## [...]
$ efi-agent push --help
Usage: efi-agent push [OPTIONS] INPUT_FILE

  Push AVefi records to the handle system, updating or creating PIDs.
  
Options:
  -j, --journal FILE  Journal where actions on PIDs are to be recorded.
  -p, --profile FILE  Profile for the described_by slot in the AVefi schema.
  --prefix TEXT       Prefix to be used when generating handles.
  --suffix TEXT       Suffix to be used when generating handles.
  --help              Show this message and exit.

The profile parameter determines who will be recorded as data provider in the described_by slots of the generated PIDs. It should be a JSON file similar to this:

{
  "has_issuer_id": "https://w3id.org/isil/DE-89",
  "has_issuer_name": "Technische Informationsbibliothek (TIB)",
}

This is specified as part of the AVefi schema.

About

Register AVefi PIDs from the command line.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published