Add repository and environment to cli