Skip to content

Commit

Permalink
[CU-86b2x7u3g] fixed commands not showing up under omics
Browse files Browse the repository at this point in the history
  • Loading branch information
patmagee committed Nov 19, 2024
1 parent 9d0c237 commit 7cc79a6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions dnastack/omics_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,18 @@ def version():
name='context_name',
arg_names=['--name'],
help='Context name -- default to hostname'
),
ArgumentSpec(
name='no_auth',
arg_names=['--no-auth'],
help='Skip automatic authentication if set',
type=bool,
required=False,
hidden=True,
)
]
)
def use(
registry_hostname_or_url: str,
def use(registry_hostname_or_url: str,
context_name: Optional[str] = None,
no_auth: bool = False):
"""
Expand All @@ -90,7 +97,7 @@ def use(
# noinspection PyTypeChecker
omics.add_command(drs_command_group)
# noinspection PyTypeChecker
omics.add_command(auth_command_group())
omics.add_command(auth_command_group)
# noinspection PyTypeChecker
omics.add_command(collections_command_group)
# noinspection PyTypeChecker
Expand Down

1 comment on commit 7cc79a6

@mpanik
Copy link
Contributor

@mpanik mpanik commented on 7cc79a6 Nov 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Please sign in to comment.