ipni / index-provider

📢 Index Provider
Other
36 stars 16 forks source link

split out cmd functionality #270

Open willscott opened 2 years ago

willscott commented 2 years ago

we have a lot of unrelated things going on in the cmd package here.

We should ideally split out:

masih commented 2 years ago

As in separate provider mirror into mirror executable? If so, I am curious why?

willscott commented 2 years ago
masih commented 2 years ago

Are you thinking we have an executable for each of those? From usability perspective I am not sure it makes sense to do a go install for each. Re dependencies, How much does it matter when the executable itself is small anyway?

Having said all of this, happy to discuss the restructuring further over a PR; that would help me get my head around the changes.