Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unleash/unleash-checkr
Checks if any flags have expired and notifies somewhere
https://github.com/unleash/unleash-checkr
Last synced: 7 days ago
JSON representation
Checks if any flags have expired and notifies somewhere
- Host: GitHub
- URL: https://github.com/unleash/unleash-checkr
- Owner: Unleash
- License: mit
- Created: 2020-07-28T22:10:44.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-06T09:35:56.000Z (over 1 year ago)
- Last Synced: 2024-06-21T14:29:09.862Z (5 months ago)
- Language: Go
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# unleash-checkr
Checks if any flags have expired an notifies someware
![CI](https://github.com/unleash/unleash-checkr/workflows/CI/badge.svg)
# Install
### Pre-compiled binary
**shell script**
```sh
curl -sf https://gobinaries.com/unleash/unleash-checkr | sh
```**manually**
Download the pre-compiled binaries from the [releases page](https://github.com/unleash/unleash-checkr/releases) and copy to the desired location
### Docker
```sh
$ docker run -it --rm unleashorg/unleash-checkr --help
```### Compiling from source
Clone the repository
```sh
$ git clone [email protected]:unleash/unleash-checkr.git$ cd gitignore
```download dependencies
```sh
$ go mod download
```build
```sh
$ go build -o unleash-checkr main.go
```verify it works
```sh
$ unleash-checkr --help
```# Usage
**check**
List overdue flags on terminal
```sh
$ unleash-checkr check -u "http://unleash.herokuapp.com"
```**notify**
List overdue flags on terminal and notifies via Slack
```sh
$ unleash-checkr notify --channel "#checkr" --slack-token "my-token" --url "http://unleash.herokuapp.com" -e 60
```