コード例 #1
0
from pulpcore.cli.core.group import group
from pulpcore.cli.core.importer import importer
from pulpcore.cli.core.orphan import orphan
from pulpcore.cli.core.orphans import orphans
from pulpcore.cli.core.repository import repository
from pulpcore.cli.core.role import role
from pulpcore.cli.core.show import show
from pulpcore.cli.core.signing_service import signing_service
from pulpcore.cli.core.status import status
from pulpcore.cli.core.task import task
from pulpcore.cli.core.task_group import task_group
from pulpcore.cli.core.user import user
from pulpcore.cli.core.worker import worker

# Register commands with cli
main.add_command(access_policy)
main.add_command(artifact)
main.add_command(content)
main.add_command(export)
main.add_command(exporter)
main.add_command(group)
main.add_command(content_guard)
main.add_command(importer)
main.add_command(orphan)
main.add_command(orphans)  # This one is deprecated
main.add_command(repository)
main.add_command(role)
main.add_command(show)
main.add_command(signing_service)
main.add_command(status)
main.add_command(task)
コード例 #2
0
ファイル: __init__.py プロジェクト: melcorr/pulp-cli
from pulpcore.cli.common import main
from pulpcore.cli.core.artifact import artifact
from pulpcore.cli.core.export import export
from pulpcore.cli.core.exporter import exporter
from pulpcore.cli.core.group import group
from pulpcore.cli.core.importer import importer
from pulpcore.cli.core.orphans import orphans
from pulpcore.cli.core.repository import repository
from pulpcore.cli.core.show import show
from pulpcore.cli.core.status import status
from pulpcore.cli.core.task import task
from pulpcore.cli.core.user import user

# Register commands with cli
main.add_command(status)
main.add_command(show)
main.add_command(user)
main.add_command(group)
main.add_command(artifact)
main.add_command(repository)
main.add_command(orphans)
main.add_command(task)
main.add_command(exporter)
main.add_command(export)
main.add_command(importer)
コード例 #3
0
from pulpcore.cli.core.config import config
from pulpcore.cli.core.export import export
from pulpcore.cli.core.exporter import exporter
from pulpcore.cli.core.group import group
from pulpcore.cli.core.importer import importer
from pulpcore.cli.core.orphans import orphans
from pulpcore.cli.core.repository import repository
from pulpcore.cli.core.show import show
from pulpcore.cli.core.status import status
from pulpcore.cli.core.task import task
from pulpcore.cli.core.user import user
from pulpcore.cli.core.worker import worker

_ = gettext.gettext

# Register commands with cli
main.add_command(access_policy)
main.add_command(artifact)
main.add_command(config)
main.add_command(export)
main.add_command(exporter)
main.add_command(group)
main.add_command(importer)
main.add_command(orphans)
main.add_command(repository)
main.add_command(show)
main.add_command(status)
main.add_command(task)
main.add_command(user)
main.add_command(worker)