Skip to content

Commit

Permalink
Introduce dist-git init command
Browse files Browse the repository at this point in the history
Create new command sub-group dist-git for dist-git
related functionality and introduce the init command
that initialises a dist-git repository config with jobs
for release automation.

See packit dist-git init --help

Fixes packit/packit-service#2301
  • Loading branch information
lbarcziova committed Feb 2, 2024
1 parent b1e57b6 commit bd32542
Show file tree
Hide file tree
Showing 7 changed files with 647 additions and 14 deletions.
16 changes: 16 additions & 0 deletions packit/cli/dist_git.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright Contributors to the Packit project.
# SPDX-License-Identifier: MIT

"""The 'dist-git' subcommand for Packit"""

import click

from packit.cli.dist_git_init import init


@click.group("dist-git")
def dist_git():
"""Subcommand to collect dist-git related functionality"""


dist_git.add_command(init)
Loading

0 comments on commit bd32542

Please sign in to comment.