Skip to content

feat(schedule): Add command to list schedules

Sebastian Gumprich requested to merge rndmh3ro/cli:sched_list into main

Description

Add a new command to list schedules in a repository. If this gets accepted, I'd like to further add a command to run schedules (and maybe more).

Related Issues

Resolves #1136 (closed)

How has this been tested?

> ~/dev/glab/bin/glab schedule list
Showing 27 Schedules on foo/bar/repo (Page 1)

ID   Description                                       Cron           Owner  Active
835  All - cleanup                    30 12 * * *    segu   true


> ~/dev/glab/bin/glab schedule list -R project/with/no/schedules
No Schedules available on project/with/no/schedules

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)

Merge request reports