Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geertjohan/fgt
fgt runs any command for you and exits with exitcode 1 when the child process sent anything to stdout or stderr
https://github.com/geertjohan/fgt
Last synced: 3 months ago
JSON representation
fgt runs any command for you and exits with exitcode 1 when the child process sent anything to stdout or stderr
- Host: GitHub
- URL: https://github.com/geertjohan/fgt
- Owner: GeertJohan
- Created: 2013-11-01T22:41:38.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-20T14:32:36.000Z (about 9 years ago)
- Last Synced: 2024-06-18T20:24:25.964Z (7 months ago)
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 24
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## fgt
fgt runs any command for you and exits with exitcode 1 when the child process sent anythingto stdout or stderr### Installation
`go get github.com/GeertJohan/fgt`### Usage
Some examples:`fgt true` will return successfully
`fgt false` will return with exitcode 1
`fgt echo hi` will return with exitcode 1 (even though echo returned with exitcode 0)
`fgt gofmt -l ` will return with exitcode 1 when gofmt indicates something must be formatted diferently
### History
This command was created to make sure jenkins will complain when gofmt needs something formatted.