From 7969a78ce8605c2b0195734e54c7d12086447304 Mon Sep 17 00:00:00 2001 From: xarx00 Date: Tue, 5 Mar 2019 17:27:30 +0100 Subject: [PATCH] fix(cli): allow --recursive parameter in repository tree Fixes #718 Fixes #731 --- gitlab/v4/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index c7edae6c9..74157f280 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -3786,7 +3786,7 @@ class Project(SaveMixin, ObjectDeleteMixin, RESTObject): ("wikis", "ProjectWikiManager"), ) - @cli.register_custom_action("Project", tuple(), ("path", "ref")) + @cli.register_custom_action("Project", tuple(), ("path", "ref", "recursive")) @exc.on_http_error(exc.GitlabGetError) def repository_tree(self, path="", ref="", recursive=False, **kwargs): """Return a list of files in the repository.