Commit fbd6678c authored by Adrian DC's avatar Adrian DC
Browse files

feat(entrypoint): show projects description after '# ...'

Issue: #3
---

Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
parent bd038df4
Loading
Loading
Loading
Loading
+4 −4
Changes for src/cli/entrypoint.py: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ class Entrypoint:
            group = gitlab.group(gitlab_path)
            print(f'{Colors.BOLD} - GitLab group: '
                  f'{Colors.GREEN}{group.full_path}'
                  f'{Colors.CYAN} ({group.description})'
                  f'{Colors.CYAN} # {group.description}'
                  f'{Colors.RESET}')
            print(' ')
            Platform.flush()
@@ -121,7 +121,7 @@ class Entrypoint:
                project = gitlab.project(gitlab_path)
                print(f'{Colors.BOLD} - GitLab project: '
                      f'{Colors.GREEN}{project.path_with_namespace}'
                      f'{Colors.CYAN} ({project.description})'
                      f'{Colors.CYAN} # {project.description}'
                      f'{Colors.RESET}')
                print(' ')
                Platform.flush()
@@ -296,7 +296,7 @@ class Entrypoint:
        group_type = 'subgroup' if subgroup else 'group'
        print(f'{Colors.BOLD} - GitLab {group_type}: '
              f'{Colors.YELLOW_LIGHT}{group.full_path}'
              f'{Colors.CYAN}({group.description})'
              f'{Colors.CYAN} # {group.description}'
              f'{Colors.RESET}')
        Platform.flush()

@@ -432,7 +432,7 @@ class Entrypoint:
        # Show project details
        print(f'{Colors.BOLD} - GitLab project: '
              f'{Colors.YELLOW_LIGHT}{project.path_with_namespace}'
              f'{Colors.CYAN}({project.description})'
              f'{Colors.CYAN} # {project.description}'
              f'{Colors.RESET}')
        Platform.flush()