Skip to content

Commit 07b76a5

Browse files
Implement service name for credential manager
Co-authored-by: Xiao-Ran Zhou <[email protected]>
1 parent a33a96f commit 07b76a5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

mars-cli/mars_cli.py

+10-1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ def cli(ctx, development):
8282

8383

8484
@cli.command()
85+
@click.argument(
86+
"credential_service_name",
87+
type=click.STRING,
88+
)
8589
@click.argument(
8690
"username_credentials",
8791
type=click.STRING,
@@ -104,6 +108,7 @@ def cli(ctx, development):
104108
help="Boolean indicating if the investigation is the root of the ISA JSON. Set this to True if the ISA-JSON does not contain a 'investigation' field.",
105109
)
106110
def submit(
111+
credential_service_name,
107112
username_credentials,
108113
isa_json_file,
109114
submit_to_ena,
@@ -128,7 +133,11 @@ def submit(
128133
)
129134

130135
submission(
131-
username_credentials, isa_json_file, target_repositories, investigation_is_root
136+
credential_service_name,
137+
username_credentials,
138+
isa_json_file,
139+
target_repositories,
140+
investigation_is_root,
132141
)
133142

134143

0 commit comments

Comments
 (0)