We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43749c8 commit 9edd20dCopy full SHA for 9edd20d
1 file changed
mergin/cli.py
@@ -654,19 +654,17 @@ def reset(ctx):
654
_print_unhandled_exception()
655
656
@cli.command()
657
-@click.argument("namespace")
658
@click.argument("project")
659
@click.option("--json", is_flag=True, default=False, help="Output in JSON format")
660
@click.pass_context
661
-def list_files(ctx, namespace, project,json):
+def list_files(ctx, project, json):
662
"""List files in a project."""
663
664
mc = ctx.obj["client"]
665
if mc is None:
666
return
667
668
- #projects_files = mc.projects_files(name=project, namespace=namespace)
669
- project_info = mc.project_info(namespace + "/" + project)
+ project_info = mc.project_info(project)
670
project_files = project_info["files"]
671
672
if json:
0 commit comments