Minimal working versions of `promote` and `repositories` commands.