SkillAgentSearch skills...

Fgt

fgt runs any command for you and exits with exitcode 1 when the child process sent anything to stdout or stderr

Install / Use

/learn @GeertJohan/Fgt
About this skill

Quality Score

0/100

Supported Platforms

Universal

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 <yourpackage> 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.

Related Skills

View on GitHub
GitHub Stars24
CategoryDevelopment
Updated3y ago
Forks2

Languages

Go

Security Score

60/100

Audited on Jan 3, 2023

No findings