def execute(self, config_path): config = ClientConfig(path=config_path) config.default_url = None config.save()
def execute(self, config_path, server_url): config = ClientConfig(path=config_path) config.default_url = 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()
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): config = ClientConfig(path=config_path) config.init() config.save()