Move packaging commands to a subdirectory

This commit is contained in:
MKLeb 2023-03-07 14:42:58 -05:00 committed by Megan Wilhite
parent 2676db097e
commit b9f8caa51e
5 changed files with 5 additions and 8 deletions

View file

@ -46,7 +46,7 @@ repos:
)$
- repo: https://github.com/s0undt3ch/python-tools-scripts
rev: "0.11.1"
rev: "0.12.0"
hooks:
- id: tools
alias: check-changelog-entries

View file

@ -6,8 +6,8 @@ ptscripts.register_tools_module("tools.changelog")
ptscripts.register_tools_module("tools.ci")
ptscripts.register_tools_module("tools.docs")
ptscripts.register_tools_module("tools.pkg")
ptscripts.register_tools_module("tools.pkgrepo")
ptscripts.register_tools_module("tools.pkgbuild")
ptscripts.register_tools_module("tools.pkg.repo")
ptscripts.register_tools_module("tools.pkg.build")
ptscripts.register_tools_module("tools.pre_commit")
ptscripts.register_tools_module("tools.release")
ptscripts.register_tools_module("tools.vm")

View file

@ -14,9 +14,6 @@ from typing import TYPE_CHECKING
from ptscripts import Context, command_group
import tools.pkg
import tools.utils
log = logging.getLogger(__name__)
# Define the command group
@ -24,7 +21,7 @@ build = command_group(
name="build",
help="Package build related commands.",
description=__doc__,
parent=tools.pkg.pkg,
parent="pkg",
)

View file

@ -43,7 +43,7 @@ repo = command_group(
name="repo",
help="Packaging Repository Related Commands",
description=__doc__,
parent=tools.pkg.pkg,
parent="pkg",
)
create = command_group(