-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path__init__.py
More file actions
31 lines (22 loc) · 815 Bytes
/
__init__.py
File metadata and controls
31 lines (22 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from typing import Any
import click
from pulpcore.cli.common.generic import pulp_group
from pulp_glue.common.i18n import get_translation
from pulpcore.cli.gem.content import content
from pulpcore.cli.gem.distribution import distribution
from pulpcore.cli.gem.publication import publication
from pulpcore.cli.gem.remote import remote
from pulpcore.cli.gem.repository import repository
translation = get_translation(__package__)
_ = translation.gettext
__version__ = "0.6.0.dev"
@pulp_group(name="gem")
def gem_group() -> None:
pass
def mount(main: click.Group, **kwargs: Any) -> None:
gem_group.add_command(content)
gem_group.add_command(distribution)
gem_group.add_command(publication)
gem_group.add_command(remote)
gem_group.add_command(repository)
main.add_command(gem_group)