Verified Commit b98d49ee authored by Adrian DC's avatar Adrian DC
Browse files

feat(entrypoint): show inactive archived projects automatically

Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
parent b7b9fcfd
Loading
Loading
Loading
Loading
Loading
+7 −0
Changes for src/cli/entrypoint.py: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -692,6 +692,13 @@ class Entrypoint:
                  f'{Colors.RESET}')
            Platform.flush()

        # Show archived project
        elif project.archived:
            print(f'{Colors.BOLD}   - Project inactive: '
                  f'{Colors.YELLOW_LIGHT}Archived'
                  f'{Colors.RESET}')
            Platform.flush()

        # Protect project branches
        if options.protect_branches:
            branches = ', '.join(gitlab.project_protect_branches(criteria))