ScottishCovidResponse / fdp

A CLI tool for the FAIR Data Pipeline
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

`remote` for handling of remote registry URLs #7

Open kzscisoft opened 3 years ago

kzscisoft commented 3 years ago

fdp remote: list all remote URL labels fdp remote -v: list all URL labels and the URLs themselves fdp remote add [label] <url>: add a remote URL, option there to have multiple if needed. fdp remote modify [label] <url>: change a remote to a new URL fdp remote remove [label]: remove a remote, defaults to removing origin.

richardreeve commented 3 years ago

Is there somewhere that explains what a remote URL is? I have to admit I'm not sure I understand this, but I'm sure I'm just missing something!

kzscisoft commented 3 years ago

This is simply to cover the remote_data_registry_url key in the user written configuration file, in fact this approach will allow people to (if they want to) have multiple labelled URLs alike to git and means that key wouldn't technically be needed at all (I think only fdp itself needs it?).