Commit 0adb1045 authored by Adrian DC's avatar Adrian DC
Browse files

feat(main): support '--update-description[s]' parameter

Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
parent 2cbce865
Loading
Loading
Loading
Loading
+2 −2
Changes for README.md: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ usage: gitlab-projects-settings [-h] [--version] [--no-color] [--update-check] [
                                [-c FILES] [--confirm] [--dry-run] [--dump] [--exclude-group] [--exclude-subgroups]
                                [--exclude-projects] [--available-features] [--reset-features [KEEP_FEATURES]]
                                [--disable-features FEATURES] [--enable-features FEATURES] [--reset-members]
                                [--set-avatar FILE] [--set-description TEXT] [--update-description]
                                [--set-avatar FILE] [--set-description TEXT] [--update-descriptions]
                                [--run-housekeeping] [--prune-unreachable-objects]
                                [--archive-project | --unarchive-project] [--delete-group] [--delete-project]
                                [--protect-branches] [--protect-tags [LEVEL]] [--set-merge-method [METHOD]]
@@ -115,7 +115,7 @@ general settings arguments:
  --reset-members                   # Reset members of GitLab projects and groups
  --set-avatar FILE                 # Set avatar of GitLab projects and groups
  --set-description TEXT            # Set description of GitLab projects and groups
  --update-description              # Update description of GitLab projects and groups automatically
  --update-descriptions             # Update description of GitLab projects and groups automatically

advanced settings arguments:
  --run-housekeeping                # Run housekeeping of GitLab project or projects in groups
+1 −1
Changes for src/cli/main.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -222,7 +222,7 @@ def main() -> None:
        help='Set description of GitLab projects and groups',
    )
    group.add_argument(
        '--update-description',
        '--update-descriptions',
        dest='update_description',
        action='store_true',
        help='Update description of GitLab projects and groups automatically',