https://github.com/linyows/go-retry
A retry command by golang on CLI.
https://github.com/linyows/go-retry
cli golang retry
Last synced: 20 days ago
JSON representation
A retry command by golang on CLI.
- Host: GitHub
- URL: https://github.com/linyows/go-retry
- Owner: linyows
- License: mit
- Created: 2015-11-21T15:45:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-09T12:29:27.000Z (10 months ago)
- Last Synced: 2025-04-12T14:14:29.282Z (22 days ago)
- Topics: cli, golang, retry
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 15
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
go-retry
========A retry command by golang on CLI.
[][travis]
[][release]
[][license]
[][godocs][travis]: https://travis-ci.org/linyows/go-retry
[release]: https://github.com/linyows/go-retry/releases
[license]: https://github.com/linyows/go-retry/blob/master/LICENSE
[godocs]: http://godoc.org/github.com/linyows/go-retryDescription
-----------Retry n times with interval for your command until to zero for exit-status.
Usage
-----```sh
$ retry -i 5s -c 2 /usr/lib64/nagios/plugins/check_http -w 10 -c 15 -H localhost
```Install
-------To install, use `go get`:
```bash
$ go get -d github.com/linyows/go-retry
```Contribution
------------1. Fork ([https://github.com/linyows/go-retry/fork](https://github.com/linyows/go-retry/fork))
1. Create a feature branch
1. Commit your changes
1. Rebase your local changes against the master branch
1. Run test suite with the `go test ./...` command and confirm that it passes
1. Run `gofmt -s`
1. Create a new Pull RequestAuthor
------[linyows](https://github.com/linyows)