env {environment-name}

def do_env(self, line):
        """
        env {environment-name}
        """
        if not line:
            print "use: env {environment-name}"
        else:
            if not set_environment(line):
                print "no configuration for environment %s" % line
            else:
                self.do_login('')