At the moment carti publish always adds the specified bundle to a local bundles.json repository index file, which must later be manually made available by the user.
Adding an option --repo <uri> would allow the user to specify an alternative repository index file.
Ideally, we would also like to be able to allow that <uri> to be a remote location, so that the bundle can be effectively published in one go. If possible, we could support different submission procedures depending on the specified protocol, such as sending a POST request to an HTTP/HTTPS URL.
- Example:
carti publish s3 --bucket xyz scrypt-hash --repo https://xyz.io/repo-endpoint