def execute(self, config_path, server_url): config = ClientConfig(path=config_path) config.set_site_config(server_url) config.save()
def execute(self, config_path, server_url, token): if token is None: token = input("Enter access token: ") config = ClientConfig(path=config_path) config.set_site_config(server_url, token=token) config.save()