Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/philip-gai/gh-scheduler
An interactive gh-cli command scheduler ๐ค๐ช
https://github.com/philip-gai/gh-scheduler
gh-cli gh-extension github-cli
Last synced: about 2 months ago
JSON representation
An interactive gh-cli command scheduler ๐ค๐ช
- Host: GitHub
- URL: https://github.com/philip-gai/gh-scheduler
- Owner: philip-gai
- License: apache-2.0
- Created: 2022-07-21T17:19:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-13T21:35:22.000Z (almost 2 years ago)
- Last Synced: 2024-11-13T14:02:37.393Z (about 2 months ago)
- Topics: gh-cli, gh-extension, github-cli
- Language: Go
- Homepage:
- Size: 1.65 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# gh-scheduler
A GitHub (`gh`) CLI extension to schedule gh CLI commands to run sometime in the future.
- โฐ Avoid setting reminders for yourself to merge a PR at the end of the day if no one else comments on it
- โฒ๏ธ Automatically close an issue after a few hours of inactivity
- ๐ช Create a pull request automatically during normal business hours that you worked on in the middle of the night (๐ )## Installation
1. Install the `gh` CLI - see the [installation guide](https://github.com/cli/cli#installation)
_Installation requires a minimum version (2.0.0) of the the GitHub CLI that supports extensions._
2. Install this extension:
```sh
gh extension install philip-gai/gh-scheduler
```## Usage
Run:
```sh
gh scheduler
```Schedule something:
```sh
in
```- ``: This can be any gh cli command, such as `gh pr merge --auto --squash` or `gh issue close `, or _anything else you might want to schedule_.
- ``: A duration string is a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "1.5h" or "2h45m". Valid time units are "ns", "us" (or "ยตs"), "ms", "s", "m", "h". If you leave of the duration, the job will run immediately.Note that exiting out of the scheduler or killing the terminal session will kill the scheduler and all of its jobs. You must keep the session open for jobs to get processed.