aiidateam / aiida-project

AiiDA project manager
Other
3 stars 7 forks source link

✨ NEW: Integration with `aiida-code-registry`? #1

Open mbercx opened 1 year ago

mbercx commented 1 year ago

The aiida-code-registry is great tool for maintaining a repository of computers and codes from which users can directly install them. However, the way I'm using the registry is somewhat clunky: I click through it and try to find the computer/codeI want, click on "Raw" and copy the link.

While doing this, I was considering we should perhaps have a CLI for accessing the registry. Some examples of usage below.

Updating the registry

A command for syncing the latest information on computers and codes stored in the registry locally. This data can then be used by other commands.

aiida-project registry update

Listing computer/codes

aiida-project registry list

To know which computers and codes are available, we need to list them. I think by default the list should be both computers and codes, but in a one-liner for each.

Installing computers/codes

aiida-project registry install

Obviously, that's the whole point. Ideally you can just put the name. In case of ambiguity the command should raise.

TODO

mbercx commented 1 year ago

Pinging @yakutovicha @unkcpz for thoughts.