Implement basic functionality to add repositories from the cli