Skip to content

Commit acb73d9

Browse files
committed
List workspace members
1 parent 490ac4c commit acb73d9

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

mergin/cli.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def _print_unhandled_exception():
153153
@click.option("--username", envvar="MERGIN_USERNAME")
154154
@click.option("--password", cls=OptionPasswordIfUser, prompt=True, hide_input=True, envvar="MERGIN_PASSWORD")
155155
@click.pass_context
156-
def cli(ctx, version, url, auth_token, username, password):
156+
def cli(ctx, url, auth_token, username, password):
157157
"""
158158
Command line interface for the Mergin Maps client module.
159159
For user authentication on server there are two options:
@@ -526,7 +526,7 @@ def history(ctx, path):
526526
@click.argument("path")
527527
@click.argument("version")
528528
@click.pass_context
529-
def show_file_changeset(ctx, path, version):
529+
def changeset(ctx, path, version):
530530
"""Displays file changes."""
531531
mc = ctx.obj["client"]
532532
if mc is None:
@@ -744,6 +744,12 @@ def members():
744744
"Workspace members management"
745745
pass
746746

747+
@members.command(name="list")
748+
@click.pass_context
749+
def members_list():
750+
"List workspace members"
751+
pass
752+
747753
@members.command()
748754
@click.pass_context
749755
def get():
@@ -756,10 +762,10 @@ def add():
756762
"Add workspace member"
757763
pass
758764

759-
@workspace.command()
765+
@members.command()
760766
@click.pass_context
761767
def update():
762-
"Create workspace"
768+
"Update workspace member"
763769
pass
764770

765771
@members.command()

0 commit comments

Comments
 (0)