Skip to content

Commit 9edd20d

Browse files
committed
drop namespace to match share interface
1 parent 43749c8 commit 9edd20d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mergin/cli.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -654,19 +654,17 @@ def reset(ctx):
654654
_print_unhandled_exception()
655655

656656
@cli.command()
657-
@click.argument("namespace")
658657
@click.argument("project")
659658
@click.option("--json", is_flag=True, default=False, help="Output in JSON format")
660659
@click.pass_context
661-
def list_files(ctx, namespace, project,json):
660+
def list_files(ctx, project, json):
662661
"""List files in a project."""
663662

664663
mc = ctx.obj["client"]
665664
if mc is None:
666665
return
667666

668-
#projects_files = mc.projects_files(name=project, namespace=namespace)
669-
project_info = mc.project_info(namespace + "/" + project)
667+
project_info = mc.project_info(project)
670668
project_files = project_info["files"]
671669

672670
if json:

0 commit comments

Comments
 (0)